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.

Math and Time FunctionsNotesInvalid Parameter Values• You receive a error if you specify an invalid format code (an integer lessthan -1 or greater than 4, a zero, or a non-integer value).• You receive an error if you specify a value for Htime outside theallowed range of 0 to 86399 (inclusive) and do not supply an erropt value.Decimal Delimiter$ZTIME will use the value of the DecimalSeparator property of the current locale as thedelimiter between the whole and fractional parts of numbers. The default value of DecimalSeparatoris “.”; all documentation examples use this delimiter.Time DelimiterBy default, <strong>Caché</strong> uses the value of the TimeSeparator property of the current locale todetermine the delimiter character for the time string. By default, the delimiter is “:”; all documentationexamples use this delimiter.Time SuffixesBy default, <strong>Caché</strong> uses properties in the current locale to determine the names of its timesuffixes. For $ZTIME, these properties (and their corresponding default values) are:• AM (“AM”)• PM (“PM”)This documentation will always use these default values for these properties.See Also• $ZDATETIME function• $ZDATETIMEH function• $ZTIMEH function• $PIECE function• $HOROLOG special variable• $ZTIMESTAMP special variable• More information on locales in Customized National Language Translations380 <strong>Caché</strong> <strong>ObjectScript</strong> <strong>Reference</strong>

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

Saved successfully!

Ooh no, something went wrong!