TimeToTimeZone

Mon 01 January 2018

Syntax

TimeToTimeZone(OldTime, SourceTimeZone, DestinationTimeZone)

Description

Use the TimeToTimeZone function to convert a time field from the time specified by SourceTimeZone to the time specified by DestinationTimeZone .

Parameters

Field or Control

Definition

OldTime

Specify the time value to be converted.

SourceTimeZone

Specify the time zone that OldTime is in. Values are:

timezone - a time zone abbreviation or a field reference to be used for converting OldTime .

Local - use the local time zone for converting OldTime.

Base - use the base time zone for converting OldTime .

DestinationTimeZone

Specify the time zone that you want to convert OldTime to. Values are:

timezone - a time zone abbreviation or a field reference to be used for converting OldTime .

Local - use the local time zone for converting OldTime.

Base - use the base time zone for converting OldTime .

Returns

A converted time value.