DATEMASK
SQL Datemask
This system variable returns a string that contains the current SQL datemask.
Syntax
Section titled “Syntax”DATEMASKRemarks
Section titled “Remarks”The default for DATEMASK is “DD-MON-YYYY HH:MI:SS”.
Examples
Section titled “Examples”SET DATEMASK "DD-Mon-YYYY"LET D$=DATEMASKD$ receives the value: “DD-Mon-YYYY”.
SET DATEMASK " "LET D$=DATEMASKD$ receives the value: “DD-MON-YYYY HH:MI:SS”.
See also
Section titled “See also”SET DATEMASK directive
DTN and NTD functions
CDS system variable
From the Thoroughbred Basic Language Reference, Volume I: A–E, version 8.9.1. Open this page in the PDF