Anonymous user
Show the epoch: Difference between revisions
→{{header|Kotlin}}: Updated example see https://github.com/dkandalov/rosettacode-kotlin for details
(Added Kotlin) |
(→{{header|Kotlin}}: Updated example see https://github.com/dkandalov/rosettacode-kotlin for details) |
||
Line 442:
=={{header|Kotlin}}==
{{trans|Java}}
<lang scala>// version 1.1.
import java.util.Date
Line 453:
format.timeZone = TimeZone.getTimeZone("UTC")
println(format.format(epoch))
}</lang>▼
▲</lang>
{{out}}
|