DATE Function

Returns the current date as a SAS date value.

Category: Date and Time
Alias: TODAY
Returned data type: DOUBLE

Syntax

DATE( )

Comparisons

The DATE function does not take any arguments. The SAS date value returned is the number of days from January 1, 1960 to the current date.
For more information about how FedSQL handles dates, see Dates and Times in FedSQL.

Example

The following statement illustrates the DATE function:
Statements
Results
select date();
19611

See Also

Functions: