Last active
March 29, 2023 04:39
-
-
Save Shivabeach/3966545 to your computer and use it in GitHub Desktop.
A Months array
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$months = [ | |
'January', | |
'February', | |
'March', | |
'April', | |
'May', | |
'June', | |
'July', | |
'August', | |
'September', | |
'October', | |
'November', | |
'December' | |
]; |
$months = [
'1' => 'January',
'2' => 'February',
'3' => 'March',
'4' => 'April',
'5' => 'May',
'6' => 'June',
'7' => 'July',
'8' => 'August',
'9' => 'September',
'10' => 'October',
'11' => 'November',
'12' => 'December'
];
superb
thanks
Thank you sir!
In javascript for fast access
const months = {
"01": "Jan",
"02": "Feb",
"03": "Mar",
"04": "Apr",
"05": "May",
"06": "Jun",
"07": "Jul",
"08": "Aug",
"09": "Sep",
// eslint-disable-next-line prettier/prettier
"10": "Oct",
// eslint-disable-next-line prettier/prettier
"11": "Nov",
// eslint-disable-next-line prettier/prettier
"12": "Dec",
};
this man must be protected
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
kotlin:
Full name:
Short name: