Class Reference
IRIS for UNIX 2019.2
InterSystems: The power behind what matters   
Documentation  Search
  [ENSLIB] >  [Ens] >  [DataType] >  [UTC]
Private  Storage   

datatype class Ens.DataType.UTC

ODBC Type: TIMESTAMP

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
15


Summary

Methods
DisplayToLogical LogicalToDisplay LogicalToOdbc Normalize
OdbcToLogical StorageToLogical timeCmp timeDiff
timeLocal timeLocaltoUTC timeUTC timeUTCH
timeUTCHtoUTC timeUTCtoLocal timeUTCtoUTCH


Methods

• classmethod DisplayToLogical(%val As %TimeStamp) as %TimeStamp
• classmethod LogicalToDisplay(%val As %TimeStamp) as %TimeStamp
• classmethod LogicalToOdbc(%val As %TimeStamp) as %TimeStamp
• classmethod Normalize(%val As %RawString) as %TimeStamp
Strip off trailing zeros and trailing dot for normalized form
• classmethod OdbcToLogical(%val As %TimeStamp) as %TimeStamp
• classmethod StorageToLogical(%val As %TimeStamp) as %TimeStamp
• classmethod timeCmp(%t2 As %TimeStamp, %t1 As %TimeStamp) as %Integer
• classmethod timeDiff(%t2 As %TimeStamp, %t1 As %TimeStamp) as %Integer
• classmethod timeLocal() as %TimeStamp
• classmethod timeLocaltoUTC(%utc As %TimeStamp) as %TimeStamp
• classmethod timeUTC() as %TimeStamp
• classmethod timeUTCH() as %String
• classmethod timeUTCHtoUTC(%utch As %String) as %TimeStamp
• classmethod timeUTCtoLocal(%utc As %TimeStamp) as %TimeStamp
• classmethod timeUTCtoUTCH(%utc As %TimeStamp) as %String


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