convert month from name to number

Try this:

<?php
  $date = date_parse('July');
  var_dump($date['month']);
?>

Leave a Comment