Here, we always use dd-mmm-yyyy. Prevents any ambiguity from incorrect ordering.

For user input, we accept dd/mm/yy, but format it onBlur with JavaScript to 
dd-mmm-yyyy (for our Dallas-based office we use a different JS function)

Also, within CF, always keep dates as Date Objects, not Strings; only actually 
format it at the point of output to the page.

> can i ask how other people get around the dateformat, or any 
> suggesstions on how i can get around it, as i am finding more and more 
> that the dateformat function just doesnt work. it switches between 
> formatting my dates from dd/mm/yyyy and mm/dd/yyyy even though i 
> specify a format of dd/mm/yyyy
> 
> i would really appreciate any help as i am a bit stuck and alot of my 
> application is based around dates
> 
> thanks very much for any 
help

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:258568
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to