You have a POSIXlt object, a list of length 9.
Try ?as.POSIXct.
On 10 Oct 2003, David Whiting wrote:
>
> Hi,
>
> I am trying to parse a date (that is read in as a factor) and add it
> to a dataframe. The length of the parsed date is shorter than the
> length of unparsed date and I therefore c
Hi,
I am trying to parse a date (that is read in as a factor) and add it
to a dataframe. The length of the parsed date is shorter than the
length of unparsed date and I therefore cannot add it to the dataframe:
> x
[1] 20030807 20030807 20030807 20030808 20030809 20030809 20030809 20030809