Got frustrated with Dates a long time ago and now stick to treating them as
a list, my preferred format being YYYY-MM-DD-HH-SS-MM (which I believe is a
Standard Format) and use listtoarray() to convert between user input and
date objects from the now()function and databases.
The frustration comes from working in three countries UK, US and AU and
hosting across all three, puss I often find that ISP's don't have the local
set correctly on servers.
My 2p.
Original Message:
-----------------
From: Ricardo Russon [EMAIL PROTECTED]
Date: Tue, 08 Jun 2004 10:01:35 +1000
To: [EMAIL PROTECTED]
Subject: [cfaussie] Date Formatting.
Morning guys,
Can anyone help with DateFormat and LSDateFormat?
The fact that cf still assumes that i want my dates in mm/dd/yyyy format
is a little more than annoying. My locale gets set in the
Application.cfm, and
i have also put the au locale in the JVM.
My dates keep getting translated into mm/dd/yyyy even if i use DateFormat
to format it the other way around. It wouldn't be such a big problem if
i could
predict when it would do this. but it seems to only happen on certain dates.
I have also tried using LSDateFormat, but i run into all sorts of
trouble when
using time stamps from the database. It throws an error telling me that
au_AU
is not a valid locale, or that the timestamp is not a valid date format.
I don't understand why dates aren't Locale Specific by default. but I really
need to find a way around this.
Any advice? tips and tricks you guys use? I hope that Blackstone has much
better support for LS dates.
Please help.
Ricardo.
---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to
[EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/
--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .
---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/