> as.POSIXct("5/1/2012 8:00:00 PM", format = "%m/%d/%Y %I:%M:%S %p")
[1] "2012-05-01 20:00:00 EDT"
On Mon, Jul 16, 2012 at 9:26 AM, Lauren Vogric
wrote:
> How do I format "5/1/2012 8:00:00 PM" into a date?
>
>
> [[alternative HTML version deleted]]
>
> ___
Ms Vogric,
as.POSIXct should be able to help there...
On 16 July 2012 06:40, Jessica Streicher wrote:
> ?Date
> ?POSIXct
>
> and here you can find the formatting symbols:
> http://stat.ethz.ch/R-manual/R-patched/library/base/html/strptime.html
>
>
> On 16.07.2012, at 15:26, Lauren Vogric wrote:
?Date
?POSIXct
and here you can find the formatting symbols:
http://stat.ethz.ch/R-manual/R-patched/library/base/html/strptime.html
On 16.07.2012, at 15:26, Lauren Vogric wrote:
> How do I format "5/1/2012 8:00:00 PM" into a date?
>
>
> [[alternative HTML version deleted]]
>
>
How do I format "5/1/2012 8:00:00 PM" into a date?
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.ht
4 matches
Mail list logo