Ask a Question related to Macromedia ColdFusion, Design and Development.
-
rdellis #1
CFGRIDCOLUMN date mask
I am trying to display a database date field using the Coldfusion MX 7
CFGRIDCOLUMN tag.
The following code displays the "CALL_DATE_TIME" date field as "Fri Feb 11
09:32:02 GMT-0600 2005":
<cfform name="form" action="form_act.cfm" method="post" format="flash">
<cfgrid name="grid" query="getInfo" selectmode="single" height="400">
<cfgridcolumn name="CALL_DATE_TIME" header="Call Date">
</cfgrid>
</cfform>
When I apply the display MASK to the cfgridcolumn tag, the following code
displays the "CALL_DATE_TIME" date field as "MM/DD/YYYY":
<cfform name="form" action="form_act.cfm" method="post" format="flash">
<cfgrid name="grid" query="getInfo" selectmode="single" height="400">
<cfgridcolumn name="CALL_DATE_TIME" header="Call Date" mask="MM/DD/YYYY">
</cfgrid>
</cfform>
Am I missing something here? Why is the display mask not working?
rdellis Guest
-
Always Applying Date Mask on cfquery (MySQL)
ColdFusion is displaying my dates in an incorrect timestamp format. I understand that the date can be masked using the DateFormat() function, but... -
COLDFUSION and date format in cfgridcolumn
hello, How to make to put a date since a base mysql at the format mm/dd/yyyy in one cfgridcolumn At the moment my code is <cfgridcolumn... -
Date Mask in CFGRIDCOLUMN - CFMX 7
Hello, I'm using CFGRID inside of a CFFORM format='flash'. It's pretty sweet functionality. Just got CFMX 7 2 days ago and I'm loving it... -
bug in flashForm masking date in a cfgridcolumn
hi, I wrote some messages in this forum about the problem masking a date in a cfgridcolumn. (using a cfgrid with the data from a query). I just saw... -
CF7 - cfgridcolumn mask attribute acts strange
Hi all, When I use the "mask" attribute in the cfgridcolumn tag, and fill in the value like "999". The user can still enter anything he want's... -
Unregistered #2
Re: CFGRIDCOLUMN date mask
type="date"
<cfgridcolumn name="CALL_DATE_TIME" header="Call Date" mask="MM/DD/YYYY" type="date">Unregistered Guest



Reply With Quote

