Well there is the Month() function which I believe returns a number from 0 to 11 ... but I think it requires input of a a date variable, or something that can be converted into a date...
So, suppose you have "Feb" in a string variable named strMonth, maybe you could do something like:
iMonth = Month(strMonth & " 1, 2005") + 1
Well I don't know what language I was thinking of but I just looked it up and the VB Month() function returns 1 - 12 so no need for the +1 in my previous example.
--------------------------------------
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs,
and the Universe trying to produce bigger and better idiots.
So far, the Universe is winning.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.