Note:
DATETIME ( date-exp , mtime-exp )
DATETIME ( string )
DATETIME ( month , day , year , hours , minutes, seconds , milliseconds )A character expression whose value is a string containing a DATETIME. The date portion of the string must have the format specified by the DATE-FORMAT attribute. The time portion must be in a valid time format (HH:MM:SS, and so on).
DEFINE VARIABLE my-datetime AS DATETIME NO-UNDO./* This statement is equivalent to "my-datetime = NOW". */my-datetime = DATETIME(TODAY, MTIME).
my-datetime = DATETIME(5, 5, 2002, 7, 15, 3).my-datetime = DATETIME(“05-05-2002 07:15:03”).ADD-INTERVAL function, DATE function, DATE-FORMAT attribute, DATETIME-TZ function, DAY function, ETIME function, INTERVAL function, ISO-DATE function, MONTH function, MTIME function, NOW function, TIME function, TIMEZONE function, TODAY function, WEEKDAY function, YEAR function, YEAR-OFFSET attribute
© 2013 Progress Software Corporation and/or its subsidiaries or affiliates. |