Skip to content

DF_DATE_4_STATE_ONLY_ON_PARSE

DF_DATE_4_STATE_ONLY_ON_PARSE changes the behavior of the [DF_DATE_4_STATE](DF_DATE_4_STATE.md) to only apply the EPOCH logic ([DF_EPOCH_VALUE](DF_EPOCH_VALUE.md)) when parsing a [Date](../LanguageGuide/Date_Type.md) into a [String](../LanguageGuide/String_Type.md) type.

When converting a date to a string, it will still ensure that the year is represented with 4 digits by padding it with 0 characters.

Default: False

Level

Global

Type

Boolean

Access

Read / Write

Values

  • True
  • False

Example

This example shows how to enable this attribute:

Set_Attribute DF_DATE_4_STATE_ONLY_ON_PARSE to True