DateTimeZone.RemoveZone

Syntax

DateTimeZone.RemoveZone(dateTimeZone as nullable datetimezone) as nullable datetime

About

Returns a #datetime value from dateTimeZone with timezone information removed.

Example 1

Remove timezone information from the value #datetimezone(2011, 12, 31, 9, 15, 36, -7, 0).

Usage

DateTimeZone.RemoveZone(#datetimezone(2011, 12, 31, 9, 15, 36, -7, 0))

Output

#datetime(2011, 12, 31, 9, 15, 36)