Skip to content

Instantly share code, notes, and snippets.

@frob
Created October 13, 2015 22:50
Show Gist options
  • Save frob/090e7b70af961c042bca to your computer and use it in GitHub Desktop.
Save frob/090e7b70af961c042bca 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'
);
@Sanix-Darker
Copy link

Thank's for that!

@Scorpionsc
Copy link

Cool

@antxd
Copy link

antxd commented Jun 30, 2018

thanks ;-)

@hAbd0u
Copy link

hAbd0u commented Jul 20, 2018

Very useful, thanks.
For other languages you can find a bunch of languages including short and long names.

@aaronmyatt
Copy link

This is appreciated 👍

@umairhassan07
Copy link

Thanks Man

@himayat-jalil
Copy link

very useful :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment