...

View Full Version : Date in PHP



Aymen++
03-04-2003, 09:08 AM
My date is saved in my data like this:
2000-2001
I want it to appear like this:
2001-2000
How can i do it?

mordred
03-04-2003, 10:55 AM
implode('-', array_reverse(explode('-', $str)));



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum