Displaying 1 result from an estimated 1 matches for "datvears".
Did you mean:
datvars
2004 Mar 08
5
years from as.POSIXlt
Hi,
how it's possible to extract the year and the number
of days from Julian date. i'm little confused about the last two
functions and ?years .
EDATE comes from sqlQuery with as.is=T
EDATE <- as.POSIXlt(datvears$ENROLLDAY)
Many thanks, Christian
> EDATE[1:5]
[1] "2000-06-30 11:25:01" "2000-06-30 11:39:55" "2000-06-30 12:11:11"
[4] "2000-06-30 12:13:32" "2000-06-30 12:50:12"
> weekdays(EDATE[1:5])
[1] "Freitag" "Freitag" "F...