CDS
Returns Current Date in SQL String Format
This system variable returns the current date and time in SQL string format.
Syntax
Section titled “Syntax”CDSRemarks
Section titled “Remarks”This system variable is a string value and may be used in string expressions.
Examples
Section titled “Examples”LET TODAYS_DATE$ = CDSAt noon on 07-JUN-1989, TODAYS_DATE$ contains the value:
“07-JUN-1989 12:00:00”
The SQL date format is corrected for leap years, including century multiples.
See also
Section titled “See also”DTN and NTD functions
CDN system variable
From the Thoroughbred Basic Language Reference, Volume I: A–E, version 8.9.1. Open this page in the PDF