Hmm... how about adding a month and subtracting a day to the first day
of the month?
#DateAdd("d",-1,DateAdd("m",1,CreateDate(Year(Now()),Month(now()),1)))#
Russ
-----Original Message-----
From: Tony Weeg [mailto:tony@;navtrak.net]
Sent: Monday, November 04, 2002 12:56 AM
To: CF-Talk
Subject: last day of month
is there an easy way to generate a lastDayofMonth
kinda number, knowing the month/year?
want to give the user the ability to click a checkbox
that will autopopulate two date fields, with the first day
and last day of month based on the month that Now() will
give me. ive got it all down, i can globally put 1 in for
beginningDayofMonth, however
i cant seem to figger out an easy way to make it dynamic for
the lastDayofTheMonth
make sense?
..tony
tony weeg
[EMAIL PROTECTED]
www.revolutionwebdesign.com
rEvOlUtIoN wEb DeSiGn
410.334.6331
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription:
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm