SpecialDatetimeTreatment coding group

Configure how UI shows VT_DATE value where datepart has special meaning.

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.SpecialDatetimeTreatment.FULL


Name Code Description
FULL 3 Date part of the value will be shown as is, according to the local number settings
SIMPLE 1 Every value below 1970-1-1 12 AM (Minimum Posix Epoch) is shown with "no timestamp" indicator
TRADITIONAL 2 All values that translate to 1899-01-01 12:00:00 (VT_DATE with float value of 0.0) are shown with timestamp only