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.

$ZDATE“Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec”except when dformat is 9, in which case $ZDATE uses the list of Month full names definedthe MonthName property of the current locale, which by default is:“January February March ... November December”yearoptWith dformat values 0, 1, 2, 4, or 7, a numeric code that specifies the time window in whichto display the year as a two-digit value. Valid values are:Value-10123456MeaningGet effective yearopt value from YearOption property of current locale whichdefaults to a value of 0. This is the default behavior if you do not specifyyearopt.Represent 20th century dates (1900 through 1999) with two-digit years andall other dates with four-digit years, unless a process-specific sliding window(established via the %DATE utility) is in effect. If such a window is in effect,represent only those dates falling within the sliding window by two-digit years,and all other dates with four-digit years.Represent 20th century dates with two-digit years and all other dates withfour-digit years.Represent all dates with two-digit years.Represent with two-digit years those dates falling within the sliding temporalwindow defined by startwin and (optionally) endwin. Represent all other dateswith four-digit years.When yearopt =3, startwin and endwin are absolute datesin $HOROLOG format.Represent all dates with four-digit years.Represent with two-digit years all dates falling within the sliding temporalwindow defined by startwin and (optionally) endwin. Represent all other dateswith four-digit years. When yearopt=5, startwin and endwin are relative years.Represent all dates in the current century with two-digit years and all otherdates with four-digit years.startwinA numeric value that specifies the start of the sliding window during which dates must berepresented with two-digit years. See parameter section. You must supply startwin whenyearopt is 3 or 5. startwin is not valid with any other yearopt values.<strong>Caché</strong> <strong>ObjectScript</strong> <strong>Reference</strong> 327

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

Saved successfully!

Ooh no, something went wrong!