[Solved] How to get month in number from date in “JAN-2014” format?


using php try like this

$month="JAN-2014";
echo date('m', strtotime($month));

1

solved How to get month in number from date in “JAN-2014” format?