Function group | Execute on client | Platform(s) |
---|---|---|
OW3 | NO | All |
OW3.$parserfc3339(cRfc3339[,bUTC=kTrue,&iOffset,&cErrorText])
Parses a date and time value conforming to RFC3339 and returns an Omnis date-time value and optionally the time zone offset in minutes. Returns #NULL if the string cannot be parsed.
The parameters are:
Parameter | Description |
---|---|
cRfc3339 | a date and time string conforming to RFC3339 |
bUTC | If true, the returned date-time value is in UTC rather than the local time zone of the RFC3339 date-time value |
iOffset | If the RFC3339 date and time string is parsed successfully this receives the time zone offset in minutes |
cErrorText | If supplied, receives text describing the error that caused $parserfc3339 to return #NULL |