The NOW function returns the system date and time of the client or server machine that serves as the time source for applications running during the ABL session (specified by the TIME-SOURCE attribute).
NOW
DEFINE VARIABLE v-datetime AS DATETIME NO-UNDO.DEFINE VARIABLE v-datetime-tz AS DATETIME-TZ NO-UNDO.ASSIGNv-datetime = NOWv-datetime-tz = NOW.ADD-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, TIME function, TIME-SOURCE attribute, TIMEZONE function, TODAY function, WEEKDAY function, YEAR function, YEAR-OFFSET attribute
© 2013 Progress Software Corporation and/or its subsidiaries or affiliates. |