On 6/4/07, Don MacQueen <macq at llnl.gov> wrote:
I think you can easily get the last days of the months by creating a
series starting on the first days, and subtracting one from each.
seq(as.Date("2000-2-1"), as.Date("2001-2-1"), "months") -1
Thanks for the suggestion, but for my problem the dates are user supplied so I don't know if they fall at the end of the month or not. Hadley