well, it's March 2nd already here in Hong Kong, but nonetheless:
if you had it as daysinmonth(now()), then today being March 1st it would 
have correctly returned 31...

what exactly did you pass as argument to your daysinmonth() ?

Azadi

On 02/03/2011 00:05 , Jeff Epstein wrote:
> I just had a failure of the DaysInMonth function. For a report running on 
> February data, "from" 2010-02-("01" hardcoded), "to" being DaysInMonth, the 
> date result was "2010-02-31"!!
>
> I had to hard-code "2010-02-28" as "to" to make the report work.
>
> Anybody else having February problems today with DaysInMonth?
>
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342652
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to