Scripting Additions Guide

CHAPTER 2
Scripting Addition Commands
66 Command Definitions
Time to GMT 2
The Time to GMT command returns the difference, in seconds, between the
current time and Greenwich mean time (GMT). It is the only command
provided by the Time to GMT scripting addition.
SYNTAX
time to GMT
PARAMETERS
None.
RESULT
An integer indicating the difference in seconds between the current time
and GMT.
EXAMPLES
Time to GMT returns the difference in seconds between the time of your
computer’s clock and GMT. For example, if you are in Cupertino, California,
and your computer is set to Pacific Standard Time, Time to GMT returns
this result:
–1704 Some parameter was invalid.
–1705 Operation involving a list item failed.
–1708 <reference> doesn't understand the <commandName> message.
–1718 Reply has not yet arrived.
Error
number Error message