PreviousNextIndex

NOW function

Returns the current system date, time, and time zone as a DATETIME-TZ value.

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).

Syntax

NOW 

Example

Following is an example of using the NOW function:

DEFINE VARIABLE v-datetime    AS DATETIME    NO-UNDO. 
DEFINE VARIABLE v-datetime-tz AS DATETIME-TZ NO-UNDO. 
ASSIGN 
  v-datetime    = NOW 
  v-datetime-tz = NOW. 

See also

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


OpenEdge Release 10.2B
Copyright © 2009 Progress Software Corporation
PreviousNextIndex