LOTUSSCRIPT/COM/OLE CLASSES


ConvertToZone method
Example

Changes the TimeZone and IsDST properties as specified.

Defined in

NotesDateTime

Syntax

Call notesDateTime.ConvertToZone( newzone, dst )

Parameters

newzone


dst
Usage

These changes affect the ZoneTime property.

The GMTTime and the LocalTime properties do not change.

This method has no effect on an invalid TimeZone (because the DateTime object lacks the date or the time). The invalid TimeZone continues to return 0.

Daylight saving time is a world-wide practice of decreasing energy consumption by adjusting clocks forward an hour, changing the offset from GMT. The TimeZone property indicates the base offset from GMT. For example, standard time in New York City is GMT -5, but when daylight savings is in effect, New York City is GMT -4.

Language cross-reference

convertToZone in Java DateTime class

Example
See Also