Hello
Could anyone explain me the difference between strftime vs strptime, please
?
I've read the help but it's a little bit cionfusing for me.
cheers
--
View this message in context:
http://r.789695.n4.nabble.com/strftime-vs-strptime-tp3018865p3018865.html
Sent from the R help mailing list
strptime() takes a character vector and makes a date-time object.
That is input.
strftime() takes a date-time object and makes an character vector.
That is output, and it is normally called via format() or print().
Let's see what the help says (slightly edited to refer just to these
two):
On Oct 29, 2010, at 6:55 AM, skan wrote:
Hello
Could anyone explain me the difference between strftime vs strptime,
please
?
I've read the help but it's a little bit cionfusing for me.
You should focus on the Value section of the help page. They return
vectors of different classes.
3 matches
Mail list logo