PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
<?php
$date = "2007-03-01T13:15:00";
// Get the 2 digit numeric of the month
$month = date("m", strtotime(str_replace('T',' ',$date))) ;
// Get the 1 digit numeric of the month (below 10)
$month = date("n", strtotime(str_replace('T',' ',$date))) ;
// Get the short string name of the month
$month = date("M", strtotime(str_replace('T',' ',$date))) ;
// Get the long string name of the month
$month = date("F", strtotime(str_replace('T',' ',$date))) ;
?>