php get current month number without zero code example
Example: php get day from date
$timestamp = strtotime('2009-10-22');
$day = date('D', $timestamp);
var_dump($day);
$timestamp = strtotime('2009-10-22');
$day = date('D', $timestamp);
var_dump($day);