Date format question

From: Date: Tue, 25 Nov 2003 02:42:19 +0000
Subject: Date format question
Groups: php.general 
Request: Send a blank email to php-general+get-170837@lists.php.net to get a copy of this message
I have a date returned from MySQL in 'YYYY-MM-DD' format, i want to show this date in 'DD/MM/YYYY' format using PHP, date() function does the same if i pass timestamp in int format, but how to convert into int timestamp ? e.g from '2003-11-25' to '20031125' ? and Then I believe that i can use date ("d/m/Y", '20031125' ) to the things done ? Thanks in advance, regards, manisha

« previous php.general (#170837) next »