Current Date and Time

Use one of these objects to return the current date or time in an expression.

Table 23-2 Current Data and Time Objects

Object Description Attributes and Methods
now Returns the current timestamp.
  • after
  • afterOrEqual
  • before
  • beforeOrEqual
  • equals
  • toDate

See Date and Timestamp.

today Returns the current date. You can specify any of the date attributes in Date and Timestamp except isNull.