How can I get the month, day, and year from a date in php?

Em-Em

New member
If I have this code:

$strDate = "2010-07-05";
$date = date(strDate);

How can I get the month, day, and year of $date... Thanks...
 
Back
Top