[cfaussie] Re: working with dates in CF

2007-01-28 Thread AJ Mercer
try using lsdateformat(payment_date, dd-mmm-yy) this relies on the region setting of the server been set to Australia or you can use setLocal On 1/28/07, claude raiola [EMAIL PROTECTED] wrote: hi al I have the following date that I need to specify in my code cfset

[cfaussie] Re: working with dates in CF

2007-01-28 Thread Adam Chapman
Hi Claude, Try dateformat(lsParseDateTime(payment_date), dd-mmm-yy) Cheers, Adam _ From: claude raiola [mailto:[EMAIL PROTECTED] Sent: Monday, 29 January 2007 12:52 AM To: cfaussie@googlegroups.com; cfaussie@googlegroups.com Subject: [cfaussie] working with dates in CF

[cfaussie] Re: working with dates in CF

2007-01-28 Thread claude raiola
To: cfaussie@googlegroups.com Subject: [cfaussie] Re: working with dates in CF Hi Claude, Try dateformat(lsParseDateTime(payment_date), dd-mmm-yy) Cheers, Adam _ From: claude raiola [mailto:[EMAIL PROTECTED] Sent: Monday, 29 January 2007 12:52 AM To: cfaussie@googlegroups.com

[cfaussie] Re: working with dates in CF

2007-01-28 Thread Taco Fleur
/ -- *From:* cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Adam Chapman *Sent:* Monday, 29 January 2007 7:23 AM *To:* cfaussie@googlegroups.com *Subject:* [cfaussie] Re: working with dates in CF Hi Claude, Try dateformat(lsParseDateTime(payment_date

[cfaussie] Re: working with dates in CF

2007-01-28 Thread Andrew Scott
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:

[cfaussie] Re: working with dates in CF

2007-01-28 Thread Kym Kovan
Hello Claude, you wrote: 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,

[cfaussie] Re: working with dates in CF

2007-01-28 Thread Barry Beattie
and to follow on from Kym's thoughts... it's worth working out exactly where you convert your date *string* from a form/input to your dateTime *object* as far as the archetecture of your site for me, it's part of the server-side form validation routines (ie: as soon as I can**). from then on