Skip to main content

HS.HC.Util.DateTime

class HS.HC.Util.DateTime extends %Library.RegisteredObject

Method Inventory

Methods

classmethod ConvertToUTC(pDateTime As %String, pDateTimeH, pForceTime=0) as %String
ConvertToUTC takes a date time value and converts it to UTC time. Expected input format is YYYY-MM-DDTHH:MM:SS[.ssss][(+/-)HH:MM]/[Z]. A date-only input value is returned unchanged. A date time input value with the "Z" time zone appended is returned unchanged.

Inherited Members

Inherited Methods

FeedbackOpens in a new tab