from unix timestamp
datetime derived from a unix timestamp
(long subject, string unit, string timeZone) -> datetime
Returns a datetime representing 1970-01-01T00:00:00@UTC plus subject number of seconds/milliseconds.
Returns the resulting instant at the given timeZone
Returns nil if any argument is nil
Parameters
| Name | Type | Description |
|---|---|---|
subject |
long | The number of seconds/milliseconds since unix epoch |
unit |
string |
Specifies timestamp resolution
|
timeZone |
string | The time zone of the result |