%DeepSee.Datatype.dateTime
Class %DeepSee.Datatype.dateTime Extends %TimeStamp [ System = 3 ]
Used to represent dates within DeepSee. This datatype can contain a complete $H value with days and seconds.
Methods
Normalize
ClassMethod Normalize(%val As %RawString) As %DeepSee.Datatype.dateTime [ CodeMode = expression, ServerOnly = 1 ]
Converts %val to a normalized internal $Horolog value.
IsValid
ClassMethod IsValid(%val As %RawString) As %Status [ ServerOnly = 1 ]
Validate logical $H value, ignore parameters.
LogicalToDisplay
ClassMethod LogicalToDisplay(%val As %TimeStamp) As %String [ CodeMode = generator, ServerOnly = 0 ]
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]
.
LogicalToOdbc
ClassMethod LogicalToOdbc(%val As %TimeStamp) As %String [ CodeMode = generator, ServerOnly = 0 ]
Converts the value of %val, which is in logical $Horolog format, into an ODBC string YYYY-MM-DD HH:MM:SS[.nnnnnnnnn]
.
DisplayToLogical
ClassMethod DisplayToLogical(%val As %String) As %DeepSee.Datatype.dateTime [ CodeMode = generator, ServerOnly = 0 ]
Converts the input value %val, which represents a Display dateTime value, to internal $Horolog format.
OdbcToLogical
ClassMethod OdbcToLogical(%val As %String) As %DeepSee.Datatype.dateTime [ ServerOnly = 1 ]
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.