PhantomScript v1.7 Reference - Copyright © 2006 P1 Systems Incorporated. All Rights Reserved.

Prev | Next | Users Guide | PhantomScript Reference | P1 Systems


Date and Time

UTCDate

Syntax

Date

Description

Return the current Coordinated Universal Time (UTC) date and day of the week in the format yyyy-mm-dd-www, where www is one of Sun, Mon, Tue, Wed, Thu, Fri, Sat. For example: "1997-01-22-Wed".

Example

d = UTCDate
yr = Substring d 1 4
mo = Substring d 6 2
da = Substring d 9 2
wd = Substring d 12 3

The above assigns the fields of the date string returned by UTCDate to individual variables.



Prev | Next | Users Guide | PhantomScript Reference | P1 Systems

PhantomScript v1.7 Reference - Copyright © 2006 P1 Systems Incorporated. All Rights Reserved.