Question
lastModifiedDate in cfdirectory
Hi,
I'm having some issues getting the correct lastModifedDate from cfdirectory. I live in Australia, so my system is configured to display dates as DD/MM/YYYY rather than MM/DD/YYYY. When I use CF to query a directory and the day is greater than 12, cfdirectory displays the day as the year! Eg: 31/03/2003 becomes 03/03/1931. I have been using computers for a while now, but I'm fairly confident that I didn't create this file in 1931!!
If the day is less than 12, it uses the day as the month and the month as the day.
Does anyone have a fix for this bug?
Thanks in advance,
Pete
I'm having some issues getting the correct lastModifedDate from cfdirectory. I live in Australia, so my system is configured to display dates as DD/MM/YYYY rather than MM/DD/YYYY. When I use CF to query a directory and the day is greater than 12, cfdirectory displays the day as the year! Eg: 31/03/2003 becomes 03/03/1931. I have been using computers for a while now, but I'm fairly confident that I didn't create this file in 1931!!
If the day is less than 12, it uses the day as the month and the month as the day.
Does anyone have a fix for this bug?
Thanks in advance,
Pete