val timestamp: Long = System.currentTimeMillis - (2629746 * 1000)
sc.cassandraTable("keyspace", "users").select("id").where("timestamp > ?", timestamp).cassandraCount()
"timestamp" here is a standard cassandra type timestamp and formatted as such.
I want to convert my timestamp to the correct format so i can find any users record that has a timestamp that was updated in the last 30 days but I am not sure how to format it correctly in scala. I see there is a TimestampFormatter class in the datastax cassandra connector but I can't make it work for me.