Displaying 1 result from an estimated 1 matches for "tp4647803p4647804".
2012 Oct 30
2
changing date by +/- days
Hi,
Let say I have a date variable like this:
structure(1243792800, class = c("POSIXct", "POSIXt"), tzone = "GMT")
[1] "2009-05-31 18:00:00 GMT"
How can I make it 10 days prior, so:
[1] "2009-05-21 18:00:00 GMT"
I'm randomly selecting dates from a list and want a second value a set #
of days either before or after.
Thanks ahead of time.