Skip to content
CCPEDIAby Unity Nodes
Discussions/App Development/What are the ranges of permissible values for `Date`/`Time`/`RelTime`?Forum ↗

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

App Development2 posts217 views3 likesLast activity Mar 2022
DT
dtanabeOP
Mar 2022

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?

RE
Remy
Mar 2022

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
← Back to Discussions