epochSecondsToInstant
epochSecondsToInstant
converts a value of seconds from Epoch to a date-time Instant.
Syntax
epochSecondsToInstant(seconds)
Parameters
Parameter | Type | Description |
---|---|---|
seconds | long | The seconds since Epoch. |
Returns
A date-time representing seconds since Epoch.
Examples
datetime = epochSecondsToInstant(1641013200000)
println datetime
- Log