ChangeTimeZoneAsync¶
Returns a new date time of specified date time at the zone offset asynchronously.
1 |
|
Parameters¶
DateTimeOffset dateTime
Specifies the base date time value.
string timeZone
Specifies the new time zone info for date value in "hh:mm" format.
Remarks¶
Example¶
1 2 3 4 |
|
Result it
1 2 |
|
See Also¶
- Calendar
- Promise<DateTimeOffset>