Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 3 Tools : $DATE_DEFAULT

$DATE_DEFAULT
Returns the default date format used by the installation. (F)
Invocation
string = $DATE_DEFAULT
 
Usage Notes
The valid date formats are listed here:
One‑ or two‑digit week # (of year), with no leading 0.
Two‑digit week # (of year).
Two‑character quarter.
Two‑digit century.
/ \ ; : , . * - blank
A week is defined to begin on a Monday and end on the following Sunday. However, January 1st always begins week one, regardless of where it falls in the week, and week two starts on the following Monday.
See TIBCO Object Service Broker for z/OS Installing and Operating for information on YYCENTURYRANGE. See TIBCO Object Service Broker Parameters for information on YYCENTURYRANGE in Open Systems.
You can specify just a portion of a date field within your mask (for example, entering only MMMM displays the month). Partial date occurrences cannot be accessed using a GET or FORALL statement, as the data cannot be interpreted as a complete date. At least the year portion of a date must be present in the mask to make it accessible to these statements.
Example
The following rule returns the date default format for the installation to the message line on the workbench:

 
DATE_DEFAULT;
_
_ ---------------------------------------------------------------------------
_ ------------------------------------------------------------+--------------
_ CALL ENDMSG($DATE_DEFAULT); | 1
_ ---------------------------------------------------------------------------

 
It returns: YYYY-MM-DD

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved