Skip to content
Prev 167875 / 398502 Next

Unexpected behaviour of the as.Date (was: Error as.Date on Invalid Dates)

The first number is the year,
the second is the month and the third is the day.
It ignores trailing characters.
List of 3
 $ month: num 1
 $ day  : num 1
 $ year : num 2001
List of 3
 $ month: num 1
 $ day  : num 20
 $ year : num 1
List of 3
 $ month: num 1
 $ day  : num 20
 $ year : num 13
Error in fromchar(x) :
  character string is not in a standard unambiguous format
On Thu, Jan 22, 2009 at 1:54 PM, Marie Sivertsen <mariesivert at gmail.com> wrote: