Hi group,

suppose I have a date, say May 15 2004, and I want to now what date it is 23 days 
before that date. The way to calculate the new date should (...) take account of leap 
years :)


In pseudocode:

olddate <- "May 15 2004"
newdate <- olddate-23

I looked around in POSIXct etc..., maybe I overlooked?

Thanks,
Maarten
-------------------------------------------------------------- 

Zie ook/see also: http://www.knmi.nl/maildisclaimer.html

______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to