Re: [R] finding the last day of the month

2010-11-08 Thread Gabor Grothendieck
On Mon, Nov 8, 2010 at 7:06 AM, Benjamin Williams wrote: > Dear R Help, > > I am trying to get fields showing the last day of each month for a monthly > closing project.  In order to find the last day of the previous month, I > subtract the number of days from the current month. For all months my

Re: [R] finding the last day of the month

2010-11-08 Thread Ben Bolker
Benjamin Williams bwmcct.com> writes: > I am trying to get fields showing the last day of each month for a monthly > closing project. In order to find the last day of the previous month, I > subtract the number of days from the current month. For all months my code > works; however, for October,

[R] finding the last day of the month

2010-11-08 Thread Benjamin Williams
Dear R Help, I am trying to get fields showing the last day of each month for a monthly closing project. In order to find the last day of the previous month, I subtract the number of days from the current month. For all months my code works; however, for October, my code doesn't work...it returns