TODAY Function

Returns the current date as a numeric SAS date value.

Category: Date and Time
Returned data type: DOUBLE

Syntax

TODAY( )

Details

The TODAY function does not take any arguments. It produces the current date in the form of a SAS date value, which is the number of days since January 1, 1960.
For more information about how FedSQL handles dates, see Dates and Times in FedSQL.

Example

The following statement illustrates the TODAY function:
Statements
Results
select today();
19612
select put(td,date.);
11SEP13
Last updated: February 23, 2017