|
Thanks Phil. But the form date input format is "dd/mm/yyyy" (and I've tried "dd-mmm-yyyy" won't work).
George
>>> [EMAIL PROTECTED] 31/05/04 11:38:03 >>> In your cfscript,
where you have
<cfset newSQLDate = DateFormat(variable.SQLDate, "dd/mm/yyyy")>
instead try
<cfset newSQLDate = DateFormat(variable.SQLDate, "dd-mmm-yyyy")>
That way SQL will cope, regardless of whether it expects US or Aus dates.
Phil.
--- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia http://www.mxdu.com/ + 24-25 February, 2004 You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia http://www.mxdu.com/ + 24-25 February, 2004 AMES (Adult Multicultural Education Services) www.ames.net.au Disclaimer ********************************************************************** This email and any attachments may be confidential. If received in error, please contact us and delete all copies. Before opening or using attachments you should check them for viruses or defects. Regardless of any loss, damage or consequence, whether caused by the negligence of the sender or not, resulting directly or indirectly from the use of any attached files our liability is limited to resupplying any affected attachments. Any representations or opinions expressed are those of the individual sender, and not necessarily those of Adult Multicultural Education Services (AMES). ********************************************************************** --- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia http://www.mxdu.com/ + 24-25 February, 2004 |
Title: Message
- [cfaussie] RE: SQL Server date format (please help!) Clifton Steve
- [cfaussie] RE: SQL Server date format (please help!) George Lu
- [cfaussie] RE: SQL Server date format (please help!) Stephen Bosworth
- [cfaussie] RE: SQL Server date format (please help!) Theo Galanakis
- [cfaussie] RE: SQL Server date format (please help!) Phil Evans
- [cfaussie] RE: SQL Server date format (please help!) George Lu
- [cfaussie] RE: SQL Server date format (please help!) George Lu
- [cfaussie] RE: SQL Server date format (please help!) Barry Beattie
- [cfaussie] RE: SQL Server date format (please help!) Darren Tracey
- [cfaussie] RE: SQL Server date format (please help!) Ryan Sabir
- [cfaussie] RE: SQL Server date format (please help!) George Lu
- [cfaussie] RE: SQL Server date format (please help!) Theo Galanakis
- [cfaussie] RE: SQL Server date format (please help!) Steve Onnis
