Skip to content

toLocalDate

Converts this instant to the local time zone: the user's time zone in browser form scripts, and the server's time zone in server workflow scripts.

1
myDateTimeOffset.toLocalDate():DateTimeOffset

Returns

A new instance for the same instant.

See Also