same instant at zone
returns the same instant in a different time zone
(datetime subject, string timeZone) -> datetime
Returns a datetime representing the same instant as subject
in a given timeZone
.
Returns nil
if any argument is nil
.
Parameters
Name | Type | Description |
---|---|---|
subject |
datetime | The datetime to work with |
timeZone |
string | The time zone of the result |