Question
dateFormat()
Hi,
I'm really puzzled by this. Why does:
<cfset variables.date1 = dateFormat(arguments.scheduleDate, "dd/mm/yyyy") />
Output:
04/10/2008
When it SHOULD be:
10/04/2008
Arguments.scheduleDate is supplied in the correct format:
10/04/2008
In my dateFormat function, I am also specifying that the date should use that Mask, yet it seems to make no difference. This is screwed up! Am I doing something so stupidly wrong here?
I'm using ColdFusion 8
Thanks,
Michael.
I'm really puzzled by this. Why does:
<cfset variables.date1 = dateFormat(arguments.scheduleDate, "dd/mm/yyyy") />
Output:
04/10/2008
When it SHOULD be:
10/04/2008
Arguments.scheduleDate is supplied in the correct format:
10/04/2008
In my dateFormat function, I am also specifying that the date should use that Mask, yet it seems to make no difference. This is screwed up! Am I doing something so stupidly wrong here?
I'm using ColdFusion 8
Thanks,
Michael.