Just want to covert Jan to 01 (date format)
I can use array() but looking for another way...
array()
Any suggestion?>
If you don't want an array then how about an object?
var months = { 'Jan' : '01', 'Feb' : '02', 'Mar' : '03', 'Apr' : '04', 'May' : '05', 'Jun' : '06', 'Jul' : '07', 'Aug' : '08', 'Sep' : '09', 'Oct' : '10', 'Nov' : '11', 'Dec' : '12' }