Skip to content

Instantly share code, notes, and snippets.

@himayat-jalil
Forked from frob/months.php
Created January 3, 2023 09:44
Show Gist options
  • Save himayat-jalil/41a8f545c64d135c4219e3c899fa3b73 to your computer and use it in GitHub Desktop.
Save himayat-jalil/41a8f545c64d135c4219e3c899fa3b73 to your computer and use it in GitHub Desktop.
Long and short month names in a php array.
<?php
$short = array(
'Jan',
'Feb',
'Mar',
'Apr',
'May',
'Jun',
'Jul',
'Aug',
'Sep',
'Oct',
'Nov',
'Dec'
);
$long = array(
'January',
'February',
'March',
'April',
'May',
'June',
'July',
'August',
'September',
'October',
'November',
'December'
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment