Skip to content

DF_DATE_4_STATE

DF_Date_4_State controls whether entries of dates with two-digit years are converted to and from dates with four-digit years when saving to and retrieving from disk, respectively.

DF_Date_4_State, combined with DF_Epoch_Value, manages the running program's behavior in the entry of dates with two-digit years.

DF_DATE_4_STATE_ONLY_ON_PARSE changes the DF_DATE_4_STATE behavior to only apply the EPOCH logic (DF_Epoch_Value) when parsing a String into a Date type.

Level

Global

Type

Boolean

Access

Read / Write

Values

  • True
  • False

Remarks

DF_Date_4_State controls whether entries of dates with two-digit years are converted to and from dates with four-digit years when saving to and retrieving from disk, respectively.

Example

In this example, all entries of two-digit-year dates will be saved to the disk with four-digit years.

Set_Attribute DF_DATE_4_STATE to True