11.07.2015 Views

Caché ObjectScript Reference - InterSystems Documentation

Caché ObjectScript Reference - InterSystems Documentation

Caché ObjectScript Reference - InterSystems Documentation

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

ParametershdateThe internal date format value representing the number of days elapsed since December 31,1840. It must be an integer in the range 0 through 2980013. You can specify it as a numericvalue, the name of a variable, or an expression.dformatFormat for the returned date. Valid values are:$ZDATEValue-10123456789101112MeaningGet effective dformat value from the DateFormat property of the current locale,which defaults to a value of 1. This is the default behavior if you do not specifydformat.DD Mmm [YY]YY (01 Jul 97 or 27 Mar 2002)MM/DD/[YY]YY (07/01/97 or 03/27/2002)DD Mmm [ YY ]YY (01 Jul 97 or 27 Mar 2002)YYYY-MM-DD (1997-07-01 or 2002-03-27) - ODBC formatDD/MM/[YY]YY (01/07/97 or 27/03/2002) - European formatMmm D, YYYY (Jul 1, 1997 or Mar 27, 2002)Mmm D YYYY (Jul 1 1997 or Mar 27 2002)Mmm DD [YY]YY (Jul 01 97 or Mar 27 2002)YYYYMMDD (19970701 or 20020327) - Numeric formatMmmmm D, YYYY (July 1, 1997 or March 27, 2002)W (2) [2nd day of the week]Www (Tue)Wwwwww (Tuesday)where:SyntaxYYYYMMMeaningYYYY is a four-digit year. [YY]YY is a two-digit year if hdate falls within theactive window for two-digit years; otherwise it is a four-digit year.Two-digit month.<strong>Caché</strong> <strong>ObjectScript</strong> <strong>Reference</strong> 325

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!