Class Reference
IRIS for UNIX 2019.2
InterSystems: The power behind what matters   
Documentation  Search
  [ENSLIB] >  [%Library] >  [FilemanTimeStampUTC]
Private  Storage   

datatype class %Library.FilemanTimeStampUTC

ODBC Type: VARCHAR

Custom TimeStamp datatype designed to handle internal FileMan UNIVERSAL TIME datatype (CYYMMDD.HHMMSSZZZ). This data type projects proper VARCHAR/STRING meta data to DISPLAY and ODBC Client software. The conversion methods of this datatype assume a ful FIleMan 22.2 run-time environment is installed, and that the DUZ(2) variable is defined and DUZ(2) references an INSTITUTION that includes defined COUNTRY and LOCATION TIMEZONE values.

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
3 7


Summary

Methods
DisplayToLogical IsValid LogicalToDisplay LogicalToOdbc
LogicalToXSD OdbcToLogical XSDToLogical


Parameters

• parameter COLLATION = "STRING";
• parameter JSONTYPE = "string";
• parameter XSDTYPE = "string";

Methods

• classmethod DisplayToLogical(Arg1 As %Library.String) as %Library.FilemanTimeStampUTC
Converts FileMan external datetime to FileMan UNIVERSAL TIME internal format (CYYMMDD.HHMMSSZZZ) Input can be standard internal or external VA FileMan DateTime (e.g., NOW, T@12A). The Time portion of the input is required.
• classmethod IsValid(%val As %RawString) as %Status
Checks for Invalid Format, expects FileMan UNIVERSAL TIME format (CYYMMDD.HHMMSSZZZ).
• classmethod LogicalToDisplay(Arg1 As %Library.FilemanTimeStampUTC = "") as %Library.String
Converts FileMan UNIVERSAL TIME internal format (CYYMMDD.HHMMSSZZZ) to external UNIVERSAL TIME format (MON DD, YYYY@HH:MM:SS (UTC=-HH:SS)).
• classmethod LogicalToOdbc(Arg1 As %Library.FilemanTimeStampUTC) as %Library.String
Converts FileMan UNIVERSAL TIME internal format (CYYMMDD.HHMMSSZZZ) to external UNIVERSAL TIME format (AUG 16, 2016@20:00:16 (UTC-04:00))
• classmethod LogicalToXSD(%val As %FilemanTimeStamp) as %String
Converts the %FilemanTimeStamp value to the canonical SOAP encoded value.
• classmethod OdbcToLogical(Arg1 As %Library.String) as %Library.FilemanTimeStampUTC
Converts FileMan external datetime to FileMan UNIVERSAL TIME internal format (CYYMMDD.HHMMSSZZZ) Input can be standard internal or external VA FileMan DateTime (e.g., NOW, T@12A). The Time portion of the input is required.
• classmethod XSDToLogical(%val As %String) as %FilemanTimeStamp


Copyright (c) 2019 by InterSystems Corporation. Cambridge, Massachusetts, U.S.A. All rights reserved. Confidential property of InterSystems Corporation.