Just want to covert Jan to 01 (date format)
I can use array() but looking for another way...
array()
Any suggestion?>
One more way to do the same
month1 = month1.toLowerCase(); var months = ["jan", "feb", "mar", "apr", "may", "jun", "jul", "aug", "sep", "oct", "nov", "dec"]; month1 = months.indexOf(month1);