<?php $data = "2014-09-23 08:00:00"; $dia_inicio = date('d', strtotime($data)); $mes_inicio = (int)date('n', strtotime($data)); echo $mes_inicio;
You have javascript disabled. You will not be able to edit any code.