Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface DateValue

Days since the unix epoch. Can go backwards. Limited from 0001-01-01 to 9999-12-31, also to be compatible with RFC3339.

Represented as a string for consistency with other numeric types in this union. This also allows the type to remain stable in the face of prospective expansions of the underlying type to a 64-bit encoding.

Example:

{
    valueType: 'date',
    date: '17990'
}

To express values in a more concise way, you can have a look at the ValueHelpers.

Hierarchy

  • DateValue

Index

Properties

Properties

date

date: string

valueType

valueType: "date"

Generated using TypeDoc