11.07.2015 Views

Caché ObjectScript Reference - InterSystems Documentation

Caché ObjectScript Reference - InterSystems Documentation

Caché ObjectScript Reference - InterSystems Documentation

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

$ZDATEHSyntaxMmmmmMeaningFull name of the month as specified by the MonthName property.The defaultvalues are: “January February March ... November December”.monthlistA string or the name of a variable that contains the month names you supplied. The namesin monthlist replace the default month values from the built-in list. You would use monthlistto specify full month names or month names or abbreviations in languages other than English.monthlist is valid only if dformat is 2, 5, 6, 7, or 9. If dformat is 1, 3, 4, or 8, $ZDATEHignores monthlist.The first character in monthlist specifies a delimiter (see the space before Jan in the defaultlist). The same delimiter must appear between each month name or abbreviation in monthlist.This delimiter appears between the month, day, and year portions of the returned date value.If you omit monthlist or specify a monthlist value of -1, $ZDATEH uses the list of monthname abbreviations defined in the MonthAbbr property of the current locale, which by defaultis:“Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec”except when dformat is 9, in which case $ZDATEH uses the list of month full names definedthe MonthName property of the current locale, which by default is:“January February March ... November December”yearoptA numeric code that specifies whether to represent years as either two-digit values or fourdigitvalues. Valid values are:Value-10MeaningGet effective yearopt value from YearOption property of current locale whichdefaults to a value of 0.This is the default behavior if you do not specify yearopt.Represent 20th century dates (1900 through 1999) with two-digit years, unlessa process-specific sliding window (established via the %DATE utility) is ineffect. If such a window is in effect, represent only those dates falling withinthe sliding window by two-digit years. Represent all dates falling outside the20th century or outside the process-specific sliding window by four-digit years.<strong>Caché</strong> <strong>ObjectScript</strong> <strong>Reference</strong> 337

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

Saved successfully!

Ooh no, something went wrong!