As others have said lsDateFormat( date ) and also use setLocale to make sure that the date is displayed and stored as an Australian date.
Andrew Scott Senior Coldfusion Developer Aegeon Pty. Ltd. www.aegeon.com.au Phone: +613 8676 4223 Mobile: 0404 998 273 _____ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of claude raiola Sent: Monday, 29 January 2007 12:52 AM To: [email protected]; [email protected] Subject: [cfaussie] working with dates in CF hi al I have the following date that I need to specify in my code <cfset payment_from_date="10-01-07"> however I cannot seem to display it in correct date format using the dateformat function it keeps returning 1-oct-07 when I am using dateformat(payment_date, dd-mmm-yy) I look forward to your advice seem to find date display / manipulation a real pain in the butt to get the correct format Kind Regards Claude Raiola B.Econ(Acc.); B.Hotel Mngt. Mobile: 0414 228 948 Phone: 07 5538 5961 Fax: 07 3319 6444 Websites: <http://www.websitesolutions.com.au/> www.WebsiteSolutions.com.au <http://www.australianaccommodation.com/> www.AustralianAccommodation.com <http://www.accommodationnewzealand.com/> www.AccommodationNewZealand.com <http://www.hospitalitypurchasing.net/> www.HospitalityPurchasing.net <http://www.samaris.net/> www.Samaris.net --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "cfaussie" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~----------~----~----~----~------~----~------~--~---
