Answered
formatting a date in cfselect
Assuming a query "meetingdate" that grabs a unique value of
the 'meetingdate' field (a date/time field). In a form, that query
is used to populate a cfselect command.
The dropdown boxes now contain "yyyy-mm-dd hh:mm:ss" value (as in "2006-06-12 12:23").
How do I format the drop-down values into 'mm/dd/yy", as in "06/12/06" ? Using the formatdate in the 'display' argument of the cfselect command returns an error.
Or, should the query command contain some sort of formatdate function (and what would that be)?
Thanks....Rick...
The dropdown boxes now contain "yyyy-mm-dd hh:mm:ss" value (as in "2006-06-12 12:23").
How do I format the drop-down values into 'mm/dd/yy", as in "06/12/06" ? Using the formatdate in the 'display' argument of the cfselect command returns an error.
Or, should the query command contain some sort of formatdate function (and what would that be)?
Thanks....Rick...