OK, now I'm confused!

 

I'm using cfcalendar and it's reversing my dates! Today is March 11, and the
calendar is displaying November 3rd!

 

Here's my code:

 

<cfset currdate = now()>

<cfoutput>

<cfset startdate="#dateformat(currdate, 'mm/dd/yyyy')#">

<cfset enddate="#dateformat(currdate, 'mm/dd/yyyy')#">

<cfset selectdate="#dateformat(currdate, 'mm/dd/yyyy')#">

</cfoutput>

 

        <cfcalendar name="selectedDate" 

        selectedDate="#selectdate#"

        startRange="#startdate#"

        endRange="#enddate#" 

        mask="mm/dd/yyyy" 

        dayNames="SU,MO,TU,WE,TH,FR,SA"

        monthNames="JAN, FEB, MAR, APR, MAY, JUN, JUL, AUG, SEP, OCT, NOV,
DEC"

        style="rollOverColor:##FF0000"

        width="200" height="150">

 

If anyone can tell me what I'm doing wrong, I'd appreciate it.

 

Thanks,

 

Rick





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300987
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to