TIMEZONE function
Returns an INTEGER value representing the time zone offset from Coordinated Universal Time (UTC), in minutes. Use this function together with the STRING function to produce the time in hours, minutes, and seconds.
Note: Coordinated Universal Time (UTC) is the current universal standard for time. Local time zone values are relative to UTC. For example, Eastern Standard Time is UTC–05:00.Syntax
datetime-tz-expression
char-expression
If the TIMEZONE function has no arguments, it returns the client or server machine that serves as the time source for applications running during the ABL session (
specified by the
TIME-SOURCE attribute).ExampleFollowing is an example of using the TIMEZONE function:
See alsoADD-INTERVAL function, DATE function, DATE-FORMAT attribute, DATETIME function, DATETIME-TZ function, DAY function, ETIME function, INTERVAL function, ISO-DATE function, MONTH function, MTIME function, NOW function, TIME function, TIME-SOURCE attribute, TODAY function, WEEKDAY function, YEAR function, YEAR-OFFSET attribute
OpenEdge Release 10.2B
|