Scala UTC timestamp in seconds since January 1st, 1970
scala, timestamp, utc
Solution
Same way as you would in Java:
val timestamp: Long = System.currentTimeMillis / 1000
Problem
How do I get the Scala UTC timestamp in seconds since January 1st, 1970?