Help with dateformat and <cfcalendar> PLZ!...
It's me again .. im having two littles questions....
1. The truth Is that i need help with dateformat in <cfcalendar>.
the dateformat defaults its mm / dd / yyyy and I live in Latin America and for most I have tried and not been able to change that.
if I change the format to dateformat dd / mm / yyyy I still have the month ahead so i dont get the dates i wish.
im trying to get in those cases 06/12/09... :s
2. can be obtained only calendars that are next to the texfield without having to draw the big calendar?? How??
i wold like to have only the calendars next to
"FECHA DE INICIO" [ date ] "calendar"
"FECHA FINAL" [ date ] "calendar"
and "CONSULTAR" button for submit dates.
sorry for the inconvenience ... not knowing is just not knowing.
Juan Martinez
PD: under this the calendar code.
this is the calendar that i made...
<!--- Set initial selected and blocked-out dates.--->
<cfparam name="Form.startdate" default="#dateformat(now()-5, 'mm/dd/yyyy')#">
<cfparam name="Form.enddate" default="#dateformat(now()-1, 'mm/dd/yyyy')#">
<cfparam name="Form.selectdate" default="#dateformat(now(), 'mm/dd/yyyy')#">
<strong>PARA INICIAL LA CONSULTA</strong></p>
<p> </p>
<cfform action="c_mulrange_2.cfm" name="form1" format="Flash" skin="haloBlue" width="375" height="350" >
<cfcalendar name="selectedDate"
selectedDate="#Form.selectdate#"
startRange="#Form.startdate#"
endRange="#Form.enddate#"
mask="mm/dd/yyyy"
dayNames="D,L,M,M,J,V,S"
monthNames="ENE, FEB, MAR, ABR, MAY, JUN, JUL, AUG, SEP, OCT, NOV, DIC"
style="rollOverColor:##FF0000"
width="200" height="150">
<cfinput type="dateField" name="startdate" label="FECHA DE INICIO"
width="100" value="#Form.startdate#">
<cfinput type="dateField" name="enddate" label="FECHA FINAL" width="100"
value="#Form.enddate#">
<!--cfinput type="dateField" name="selectdate" label="Initial date" width="100"
value="#Form.selectdate#"-->
<cfinput type="Submit" name="submitit" value="CONSULTAR" width="100">
</cfform>
