[R] reading as date

Jeff Newmiller jdnewmil at dcn.davis.CA.us
Wed Jun 10 14:49:09 CEST 2015


Your example is not the same as the answers you have received. Look again.
---------------------------------------------------------------------------
Jeff Newmiller                        The     .....       .....  Go Live...
DCN:<jdnewmil at dcn.davis.ca.us>        Basics: ##.#.       ##.#.  Live Go...
                                      Live:   OO#.. Dead: OO#..  Playing
Research Engineer (Solar/Batteries            O.O#.       #.O#.  with
/Software/Embedded Controllers)               .OO#.       .OO#.  rocks...1k
--------------------------------------------------------------------------- 
Sent from my phone. Please excuse my brevity.

On June 10, 2015 5:03:01 AM PDT, khatri <dheeraj.khatri at abzooba.com> wrote:
>Hey sorry for my typing.
>I have actually used the same format with % that is 
>
>
>> dd<-c("21/01 11:11:11")
>> strptime(dd,"%d/%m H:M:S") 
>[1] NA
>
>
>it is giving NA.
>
>
>
>--
>View this message in context:
>http://r.789695.n4.nabble.com/reading-as-date-tp4708434p4708441.html
>Sent from the R help mailing list archive at Nabble.com.
>
>______________________________________________
>R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
>https://stat.ethz.ch/mailman/listinfo/r-help
>PLEASE do read the posting guide
>http://www.R-project.org/posting-guide.html
>and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list