Skip to content

question about date's

2 messages · Richard van Wingerden, Jacques VESLOT

#
Hi,

Given a frame with calendar date's:

"2005-07-01", "2005-07-02","2005-07-03","2005-07-04","2005-07-05",etc.

I want to extract the following from these dates:

week number
month number
year number

Any ideas how to accomplish this?

Many thanks.

Regards,
Richard
#
do.call("rbind", strsplit(as.character(date.vector), "-"))


Richard van Wingerden a ??crit :