Displaying 1 result from an estimated 1 matches for "year_2038_problem".
2012 Aug 01
1
timeBasedSeq stumbles over the year 2038 (xts package)
I have the following problem:
As expected I obtain
timeBasedSeq( 2037/2037)
[1] "2037-01-01"
>
However if I do the same for 2038 I get
timeBasedSeq( 2038/2038)
[1] "2038-01-01" "2039-01-01"
I get the same strange result if I use later years or any interval that contains 2038:
timeBasedSeq( 2037/2039)
[1] "2037-01-01" "2038-01-01"