What are the ranges of permissible values for `Date`/`Time`/`RelTime`?

I was reading Reference: data types — Daml SDK 2.0.0 documentation but noticed that limits are documented for Int, Decimal, and BigNumeric, but not for Date, Time, and RelTime.

What are the ranges of permissible values for Date/Time/RelTime?

Good catch ! We will update the doc.

For the record:

  • The Range for Date is from 0001-01-01 to 9999-12-31.
  • The Range for Time is from
    0001-01-01T00:00:00.000000Z to 9999-12-31T23:59:59.999999Z.
  • The Range for RelTime (once converted in microseconds) is the same as signed 64 bits integer
3 Likes