Type alias PODDateValue

PODDateValue: {
    type: "date";
    value: Date;
}

POD value for a point in time, defined by a date and timestamp in UTC accurate to the millisecond. Time values are represented cryptographically by a signed integer counting milliseconds before/after the epoch (Jan 1 1970 in UTC time), which can be subject to comparison and arithmetic manipulation.

The numeric representation of a time value is a signed integer, with the same represenation and capabilities as PODIntValue. The range of values is constrained to the limits of the JavaScript Date type, as defined by the constants POD_DATE_MIN and POD_DATE_MAX.

Type declaration

  • type: "date"
  • value: Date

Generated using TypeDoc