date problem

From: Date: Thu, 27 Feb 2003 20:57:28 +0000
Subject: date problem
Groups: php.general 
Request: Send a blank email to php-general+get-137473@lists.php.net to get a copy of this message
Hello, I would ask you a question about date type if I have a variable from date type ($newdate) such as 2003-02-17 how can I separate $newdate into 3 different variables? I want to create such variables: $day=17 $month=2 $year=2003 I searched a lot, but I didn't find how to do this. I'll be very happy if someone helps! Thanks in advance, Alexander Tsonev

« previous php.general (#137473) next »