TimestampFormat coding group
Defines the timestamp format.
Lua access code
To access the code of the codings below, append the coding group name and coding name to syslib.model.codes
,
see an example below.
return syslib.model.codes.TimestampFormat.CUSTOM
Codings
Name | Code | Description |
---|---|---|
CUSTOM | 9 | Timestamps are supplied according to the below specified custom format |
CUSTOMSCRIPT | 10 | A script will be invoked, which is required to return the timestamp in numerical POSIX millisecond format |
DEFAULT | 0 | The timestamp format of the source data is yyyy-MM-dd HH:mm:ss |
EXCEL | 4 | Timestamps are supplied in numerical Excel datetime format |
ISO8601 | 1 | The timestamp format of the source data is yyyy-MM-ddTHH:mm:ss |
POSIX_MS | 2 | The timestamp format of the source data is numerical POSIX milliseconds |
POSIX_S | 3 | The timestamp format of the source data is numerical POSIX seconds |