method

DateField.Format

Format selects whether the field accepts a date, timestamp, or local time. DateOnly is the default. Admin display settings do not change the stored format.

Arguments

ArgumentTypeDescription
valueDateFormatThe value value.

Returns

The declared result.

DateField

Full signature

Related types

  • DateField

    DateField configures a field for a date, time, or timestamp.

  • DateFormat

    DateFormat selects a date field's accepted value contract. The admin control follows this format; changing presentation never changes accepted API values.