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.

Math and Time Functions$ZDATETIMEH Compared to $ZDATEH$ZDATETIMEH is similar to $ZDATEH except it converts both a date and a time valueto the internal $HOROLOG format (even if no time value is specified.) $ZDATEH onlyconverts a date value to $HOROLOG format. For example:WRITE $ZDATEH("Nov 25, 2002",5)returns 59133.WRITE $ZDATETIMEH("Nov 25, 2002 10:08:09.539",5)returns 59133,36489.539.Specifying $ZDATETIMEH with no time value:WRITE $ZDATETIMEH("Nov 25, 2002",5)returns 59133,0.See Also• JOB command• $ZDATE function• $ZDATEH function• $ZDATETIME function• $ZTIME function• $ZTIMEH function• $HOROLOG special variable• $ZTIMESTAMP special variable• %DATE utility• More information on locales in Customized National Language Translations364 <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!