I have a variable that is pulling a short month from a form:
var strCurrMonth = document.thisform.txtMonth.value (i.e Jun)
How can I convert it to an integer reperesentation of the month (6 or 5 if zero-based)
I need to get the previous month's string name from this, something like this:
var intCurrMonth = getMonth(strMonth)
var intPrevMonth = intCurrMonth - 1
var strPrevMonth = getMonthName(intPrevMonth)
var strCurrMonth = document.thisform.txtMonth.value (i.e Jun)
How can I convert it to an integer reperesentation of the month (6 or 5 if zero-based)
I need to get the previous month's string name from this, something like this:
var intCurrMonth = getMonth(strMonth)
var intPrevMonth = intCurrMonth - 1
var strPrevMonth = getMonthName(intPrevMonth)