What are the ranges of permissible values for `Date`/`Time`/`RelTime`?
- dtanabeOP
I was reading Reference: data types — Daml SDK 2.0.0 documentation but noticed that limits are documented for
Int,Decimal, andBigNumeric, but not forDate,Time, andRelTime.What are the ranges of permissible values for
Date/Time/RelTime? - Remy 3
Good catch ! We will update the doc.
For the record:
- The Range for
Dateis from0001-01-01to9999-12-31. - The Range for
Timeis from
0001-01-01T00:00:00.000000Zto9999-12-31T23:59:59.999999Z. - The Range for
RelTime(once converted in microseconds) is the same as signed 64 bits integer
- The Range for