Skip to content

Instantly share code, notes, and snippets.

@dukenmarga
Created August 19, 2014 04:49
Show Gist options
  • Select an option

  • Save dukenmarga/dd0819a42d15588bfbc0 to your computer and use it in GitHub Desktop.

Select an option

Save dukenmarga/dd0819a42d15588bfbc0 to your computer and use it in GitHub Desktop.
convert month number into month string
<?php
$month = 8;
print date("M", mktime(0, 0, 0, $month));
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment