Doesn't June only have 30 days!!!!!
Jason Lees
National Express
Email : [EMAIL PROTECTED]
-----Original Message-----
From: Steven Dworman [mailto:[EMAIL PROTECTED]]
Sent: 01 June 2001 14:11
To: CF-Talk
Subject: What's with this?
I have this bit of code...
<cfset
date1=dateformat(createdate(year(now()),month(now()),daysinmonth(month(n
ow()))),"mm/dd/yyyy")>
<cfset
date2=dateformat(createdate(year(now()),month(now()),1),"mm/dd/yyyy")>
and I'm getting this error on date1
In the function CreateDate(year, month, day) the combination of the
arguments, which are 2001- 6-31, have resulted in an invalid date value.
The valid range of dates approximately covers the period between 100 AD and
9999 AD
WHY?
Steven D Dworman
---------------------------
Cold Fusion Programmer
Web Applications Developer
ComSpec International
phone: 248.647.8841
cell: 734.972.9676
---------------------------
http://www.comspec-intnl.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists