> I am able to recreate the exception here.  The value of Int64.MaxValue is
> 9223372036854775807.  The UnixEpoch values are measured in seconds from
> the epoch 1970-01-01 00:00:00Z.  Adding 9223372036854775807 seconds to the
> UnixEpoch would result in a DateTime far beyond the allowed maximum value
> for DateTime in the .NET Framework, which is 9999-12-31 23:59:59.9999999.

dotNet uses 0001-01-01 00:00:00.0000000 as the epoch and integer increment is 
hundredths of a microsecond since the epoch.  This makes the largest dotNet 
timevalue 3155064480000000000 which is a bit more than a third of 
Int64.MaxValue.

The maximum seconds increment of the unix epoch is 253370851200 after which you 
will need 5 digits for the year, and the minimum value is -62135596800, the 
next second below which is 0001/12/31 23:59:59.000000 BC.





Reply via email to