omnistoiso8601()

Function group Execute on client Platform(s)
Date and Time NO All

Syntax

omnistoiso8601(domnisdatetime,bneedtime[,cerrtext, bMillis=kFalse])

Description

Converts dOmnisDateTime (in UTC) to ISO8601 date/date-time (depends on bNeedTime) and returns it. Returns NULL and cErrText on error. Rounds down hundredths if bMillis is false.

Hundredths are always rounded down to the nearest tenth. omnistoiso8601() always outputs the timezone using the “Z” UTC time indicator.