You can also create your own conversion function like this:
{
ClassMethod fromUTC(ts As %TimeStamp) As %TimeStamp [ SqlName = fromUTC, SqlProc ]
{
quit $ZDT($ZDTH($ZDTH(ts,3),-3),3,1,2)
}
}
Then you simply use
SELECT SQL.fromUTC(CreationTime) FROM Table
to get the conversion
- Log in to post comments
