Hi
i need some clarification on the lsdateformat and dateformat if you can help!
i was under the impression that if i set a locale as English UK and then used
the follwing code:
lsdateformat("07/24/1978","dd/mm/yyyy") that it would convert this date into
24/07/1978
but i am getting an error '07/24/1978 is an invalid date format' but if i use
dateformat instead of lsdateformat then it converts it fine
it seems to me that lsdateformat function takes an english uk formated date
(dd/mm/yyyy) and converts it into the mask that it is set such as mm/dd/yyyy or
yyyy/mm/dd
and it seems that the dateformat function takes a USA formated date
(mm/dd/yyyy) and converts it into the mask that is set such as dd/mm/yyyy
i thought that with the lsdateformat i could pass it any formated date and it
would format it into dd/mm/yyyy format
is my analysis correct of what i now see this does or should it be able to take
any formated date and convert it into dd/mm/yyyy format
thanks very much for your help. this date conversion problem has caused me a
headache for a couple of years now and i really need to work it out once and
for all.
thanks
richard
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:297487
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4