Displaying 2 results from an estimated 2 matches for "firstday".
2010 May 20
1
Question about difftime()
Dear R experts,
I have a question about the result of difftime() function: Does it
take into account the different number of days in each month. In my
example, I have the following:
> firstDay
[1] "2010-02-20"
> lastDay
[1] "2010-05-20 16:00:00"
> difftime(lastDay,firstDay,units='days')
Time difference of 89.625 days
>
When I count the days I get 88 days from 20/02/2010 to 20/05/2010
consequently the difference in days should be 87.
On the contrary,...
2006 Jul 27
9
CalendarHelper
Has anyone had any luck using the CalendarHelper plugin at
http://wiki.rubyonrails.com/rails/pages/CalendarHelper recently?
I''m scratching my head over the following error when I look at any page
in my application:
NameError in CalendarController#index
undefined local variable or method `date_format'' for
#<CalendarController:0x24ccd4c>
RAILS_ROOT: