DateTimeZone.RemoveZone

About

Returns a datetime value with the zone information removed from the input datetimezone value.

Syntax

DateTimeZone.RemoveZone(dateTimeZone as datetimezone) as nullable datetime  

Arguments

Argument Description
dateTimeZone The DateTimeZone to modify.

Example

DateTimeZone.RemoveZone(#datetimezone(2010, 5, 4, 14, 5, 5, 8, 0)) equals #datetime(2010, 5, 4, 14, 5, 5)