Possible Duplicate:
convert month from name to number
I have a simple (yet interesting) query for all.
I am getting month name, in short, like Jan, Feb, etc. Now I need to convert it to month-number ( i.e., Numeric representation of a month), with leading zeros
Example: "Jan" to "01", "Dec" to "12", etc
Anyone know, how to achieve this, without using array
Thanks