It works, thanks a lot!
Cheers
-Original Message-
From: jim holtman [mailto:jholt...@gmail.com]
Sent: Monday, July 26, 2010 4:04 PM
To: Olivier Coupiac
Cc: r-help@r-project.org
Subject: Re: [R] search and replace in a list of strings
The most "usable" form is to convert it
The most "usable" form is to convert it to POSIXct since most of the
plotting routines know how to handle date/time. You could do:
myDate <- as.POSIXct(paste(WD$date, WD$time), format='%m.%d.%Y %H:%M:%S')
e.g.,
> as.POSIXct('07.07.2010 12:34:15', format='%m.%d.%Y %H:%M:%S')
[1] "2010-07-07 12:3
2 matches
Mail list logo