|
Hi All,
Thanks everyone for providing great help! I've just found out I've made a mistake with CFIF - I didn't put the date format code under CFELSE. So it should work for all codes. I apology for the mistake I've made.
Anyway, another question: in <cfset SQLDate = DateFormat(Form.CloseDate, "yyyy/mm/dd")>, is there any different specify the mask to "yyyy/mm/dd" or "dd/mm/yyyy"? It seems to me sometimes "yyyy/mm/dd" works and sometimes "dd/mm/yyyy" works.
George
>>> [EMAIL PROTECTED] 31/05/04 12:32:45 >>> LSDateFormat is also much fussier than DateFormat. You need to specify dd/mmm/yyyy. It won't like the hyphens.
Good luck. (Anything to do with dates always makes me cringe)
A big problem I've seen is that when we use dates, if the date is not ambiguous (ie. the 13th of January, there being no 13th month) then any dates like 13/01/2004 are handled perfectly, but for the first 12 days of the month, it always switches it to US format, and so treats the 12/01/2004 as the 1st of December.
This gets very frustrating, as if the date is being generated from today's date, then you only have problems for the first 12 days of any month, and then everything seems to be OK.
Regards
Darren Tracey
--- 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
