hi, i am getting a very strange error with the dateformat

i get the date out of the database which is a timestamp, i format it to 
dd/mm/yyyy in order to display on screen

i then try to convert it to yyyy/mm/dd in order to query the database but i am 
noticing that if the day is below 12 then it produces the format yyyy/dd/mm, if 
the day is above 12 then it produces the correct format yyyy/mm/dd

has anyone seen this error or know how i can get around it

thanks 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:258196
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to