Learning
Documentation
Community
Open Exchange
Global Masters
Home / Class Reference / %SYS namespace / %Library.FilemanTime
Private  Storage   

%Library.FilemanTime


datatype class %Library.FilemanTime

ODBC Type: TIME

Custom Time datatype designed to handle internal FILEMAN format Time (HHMMSS). A field defined as a TIME data type can accept many of the date/time entries, but only stores the TIME portion. Example: External: 15:09:43 Internal: 150943 It does not require any extra routines to function

Inventory


Parameters Properties Methods Queries Indices ForeignKeys Triggers
3 7


Summary


Methods
DisplayToLogical IsValid LogicalToDisplay LogicalToOdbc
LogicalToXSD OdbcToLogical XSDToLogical


Parameters


• parameter COLLATION = "STRING";
The default collation value used for this data type.
• parameter JSONTYPE = "string";
• parameter XSDTYPE = "Time";

Methods


• classmethod DisplayToLogical(Arg1 As %Library.String) as %Library.FilemanTime
Converts DISPLAY format TIME ([MM/DD/YYYY ]HH:MM:SS) to FILEMAN format Time (HHMMSS).
• classmethod IsValid(%val As %RawString) as %Status
Checks for Invalid Format, expects FILEMAN format Time (HHMMSS, 00:00:01 through 24:00:00).
• classmethod LogicalToDisplay(Arg1 As %Library.FilemanTime = "") as %Library.String
Converts FILEMAN format TimeStamp (HHMMSS) to DISPLAY format TIME HH:MM:SS).
• classmethod LogicalToOdbc(Arg1 As %Library.FilemanTime) as %Library.String
Converts FILEMAN format Time (HHMMSS) to ODBC format TIME (HH:MM:SS)
• classmethod LogicalToXSD(%val As %Library.FilemanTime) as %String
Converts the %FilemanTime value to the canonical SOAP encoded value.
• classmethod OdbcToLogical(Arg1 As %Library.String) as %Library.FilemanTimeStamp
Converts ODBC format TIMESTAMP (YYYY-MM-DD HH:MM:SS) to FILEMAN format TimeStamp (CYYMMDD.HHMMSS)
• classmethod XSDToLogical(%val As %String) as %Library.FilemanTime