Skip to content

DATEMASK

SQL Datemask

This system variable returns a string that contains the current SQL datemask.

DATEMASK

The default for DATEMASK is “DD-MON-YYYY HH:MI:SS”.

SET DATEMASK "DD-Mon-YYYY"
LET D$=DATEMASK

D$ receives the value: “DD-Mon-YYYY”.

SET DATEMASK " "
LET D$=DATEMASK

D$ receives the value: “DD-MON-YYYY HH:MI:SS”.

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