Skip to content
Prev 378616 / 398502 Next

Extending my code

Jim has pointed out the strptime function, but you can use as.POSIXct function also... so 

as.POSIXct( "2005-03-13 09:00:00" )
as.POSIXct( "03/13/2005 9:00", format="%m/%d/%Y %H:%M" )

or other variations should work.
On February 16, 2019 5:41:29 PM PST, Ogbos Okike <giftedlife2014 at gmail.com> wrote: