Skip to content

Instantly share code, notes, and snippets.

@vnetmx
Forked from frob/months.php
Created May 10, 2018
Embed
What would you like to do?
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