%DeepSee.Datatype.dateTime
datatype class %DeepSee.Datatype.dateTime extends %Library.TimeStamp
ODBC Type: TIMESTAMP
Used to represent dates within DeepSee. This datatype can contain a complete $H value with days and seconds.Method Inventory
Methods
classmethod DisplayToLogical(%val As %String) as %DeepSee.Datatype.dateTime
Converts the input value %val, which represents a Display dateTime value,
to internal $Horolog format.
classmethod IsValid(%val As %RawString) as %Status
Validate logical $H value, ignore parameters.
classmethod LogicalToDisplay(%val As %TimeStamp) as %String
Converts the value of %val, which is in logical $Horolog format, into a display string on ODBC format
YYYY-MM-DD HH:MM:SS[.nnnnnnnnn]
.
classmethod LogicalToOdbc(%val As %TimeStamp) as %String
Converts the value of %val, which is in logical $Horolog format, into an ODBC string
YYYY-MM-DD HH:MM:SS[.nnnnnnnnn]
.
classmethod Normalize(%val As %RawString) as %DeepSee.Datatype.dateTime
Converts %val to a normalized internal $Horolog value.
classmethod OdbcToLogical(%val As %String) as %DeepSee.Datatype.dateTime
Converts %val, which represents either a dateTime value in ODBC format,
or a Date in ODBC format, into a logical dateTime value in $Horolog format.