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.

$ZDATETIMEHValue678MeaningExpress time in the form “hh:mm+/-hh:mm” (24-hour clock). The time isexpressed as local time. The plus (+) or minus (–) suffix shows the offset oflocal time from Coordinated Universal Time (UTC), also known as GreenwichMean Time (GMT). A minus sign (-hh:mm) indicates that the local time is earlier(westward) from Greenwich by the returned offset number of hours and minutes.A plus sign (+hh:mm) indicates that the local time is later (eastward) fromGreenwich by the returned offset number of hours and minutes.Express time in the form "hh:mm:ssZ" (24-hour clock). The “Z” suffix indicatesthat the time is expressed as Coordinated Universal Time (UTC), also knownas Greenwich Mean Time (GMT), rather than as local time.Express time in the form “hh:mmZ” (24-hour clock). The “Z” suffix indicatesthat the time is expressed as Coordinated Universal Time (UTC), also knownas Greenwich Mean Time (GMT), rather than as local time.For tformat values 1 through 4 (which return local time), the date is separated from the timeby a space. For tformat values 5 through 8 (which return UTC time information), the date isseparated from the time by the letter “T”.When tformat is set to 7 or 8, the time is returned as UTC time, and the date returned is alsoadjusted (if necessary) to this UTC time value. This date may differ from the local date.monthlistA string, or the name of a variable that contains a string of month names. The names inmonthlist replace the default month name values and month abbreviation values, overridingthe MonthName and MonthAbbr properties of the current locale. The most common use ofmonthlist is to specify full month names or month name abbreviations in languages otherthan the default language for your locale.monthlist is valid only if dformat is 2, 5, 6, 7, or 9. If dformat is -1, 1, 3, 4, or8$ZDATETIMEH ignores monthlist.The monthlist string has the following format:• The first character of the string is a delimiter character (usually a space). The samedelimiter must appear between each month name in monthlist. This delimiter appearsbetween the month, day, and year portions of the returned display date value, which iswhy a space is usually the preferred character.• The month names list should contain twelve entries, corresponding to January throughDecember. It is possible to specify more or less than twelve month names, but if there is<strong>Caché</strong> <strong>ObjectScript</strong> <strong>Reference</strong> 359

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

Saved successfully!

Ooh no, something went wrong!