[TOC] [Prev] [Next] [Bottom]



<@TOGMT>

Syntax

<@TOGMT TS=timestamp [ENCODING=encoding] [FORMAT=format]>

Description

Transforms local time, given by the TS argument, to GMT (Greenwich Mean Time). The transformed time can be formatted according to the optional FORMAT attribute.

The difference between GMT and local time is influenced by daylight savings time. That is, for Toronto, Ontario, the regular difference is 5 hours, but the summertime difference is 4 hours. Tango accounts for daylight savings time.


! Note: When a two-digit year is given, the following centuries are assumed:

Value

Century

00-36

2000s

37-99

1900s

For example, a two-digit year of 99 is evaluated as 1999, and a two-digit year of 00 is evaluated as 2000.


Example

<@TOGMT TS="<@CURRENTTIMESTAMP>">

See Also

<@CURRENTDATE>, <@CURRENTTIME>, <@CURRENTTIMESTAMP>
Encoding Attribute
<@FORMAT>
Format Attribute



[TOC] [Prev] [Next] [Bottom]



docs@pervasive.com

Copyright © 1999, Pervasive Software. All rights reserved.