![]() ![]()
|
DATETIME-TZ function
Converts a date, time, and time zone value, or a character string, into a DATETIME-TZ value.
Note: If any argument is the Unknown value (?), the result is the Unknown value (?).Syntax
date-expmtime-exptimezone-expdatetime-expdatetime-tz-expmonthdayyearhoursminutessecondsmillisecondsstring
A character expression whose value is a string containing a DATETIME-TZ. 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). If the string contains a time zone, it must be in +HH:MM format. If the string does not contain a time zone, the DATETIME-TZ inherits the session’s time zone.ExampleFollowing is an example of using the DATETIME-TZ function:
The following statements result in the same DATETIME-TZ value (when SESSION:DATE-FORMAT is
mdy):
See alsoADD-INTERVAL function, DATE function, DATE-FORMAT attribute, DATETIME 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
![]() |
OpenEdge Release 10.2B
|
![]() ![]()
|