[R] Dates stuff ... beginner question

Lutz Prechelt prechelt at pcpool.mi.fu-berlin.de
Fri Apr 16 10:44:37 CEST 2004


You need 
strptime("20030301","%Y%m%d")$wday

See
?strptime
?POSIXlt

  Lutz

> Putting it simly I have a date in format YYYYMMDD
> Year month day
> 20030301
> and I need simply the day of the week as an integer or even as
> string...




More information about the R-help mailing list