Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
1970 年 1 月 1 日からの Scala UTC タイムスタンプを秒単位で取得するにはどうすればよいですか?
Java の場合と同じ方法:
val timestamp: Long = System.currentTimeMillis / 1000