Home / InterSystems Programming Tools Index / Tools Index / Date/Time Values

InterSystems Programming Tools Index
Date/Time Values
Previous section           Next section
InterSystems: The power behind what matters   

Work with date/time values.
Available Tools
The tools are grouped into the following categories: data type classes and tools to work with date/time values.
Available Data Type Classes
Class Name Logical Value ODBC Type XSD Type
%Date A date value in $HOROLOG format (see Current Date and Time). For example: 46674 DATE date
%Time A time value, expressed as the number of seconds past midnight. For example: 67080 TIME time
%TimeStamp A date value and a time value, in ODBC format (in YYYY-MM-DD HH:MM:SS.nnnnnnnnn). For example: 1968-10-15 18:38:47 TIMESTAMP dateTime
%UTC A UTC date and time value, in ODBC format. TIMESTAMP  
Availability: All namespaces.
Available Tools for Working With Date/Time Values
Includes the TimeZone() class method.
Availability: All namespaces.
Includes class methods that you can use to work with date/time values. These include:
Availability: All namespaces.
%SYSTEM.Util class
Includes the following class methods that you can use to convert or obtain information about date/time values:
Availability: All namespaces.
%Library.UTC class
Provides a set of class methods for working with %TimeStamp values. These are as follows:
Availability: All namespaces.
The special variable $SYSTEM is bound to the %SYSTEM package. This means that instead of ##class(%SYSTEM.class).method(), you can use $SYSTEM.class.method().
See Also

Previous section           Next section
View this book as PDF   |  Download all PDFs
Copyright © 1997-2019 InterSystems Corporation, Cambridge, MA
Content Date/Time: 2019-04-23 13:43:22