Month String to Numeric?


Posted on 16th Feb 2014 07:03 pm by admin

Hi guys,

Given a month as a string, is there a simple way to find the numeric representation of said month?

I've used a switch statement but I'm wondring if there is a more elegant way of doing it?

Thanks in advance,

No comments posted yet

Your Answer:

Login to answer
90 Like 29 Dislike
Previous forums Next forums
Other forums

Email/MMS to Site
Hey guys. I'm looking for a way for a user to upload images and/or text via their cell phones. It

Renaming a file that a user uploads to site?
My site allows for registered users to upload images to the site under their own gallery. Currently

am I using this for loop correctly
Dear buddies!

Right now I am generating a report with some details for all the dealers.

What makes a script your own?
If someone finds a login script online, and changes some variable names around and some other minor

Customizing message/behavior
Hi,I'm using the ASP.NET membership/authorization controls in my application. Some parts of my appli

Day of week
I am using PHP version 5.0.5
I have a varaible ($DATE (date format yyyy-mm-dd)) that is being inc

Parse String
I need to parse the string below into three variables. How would I do that?

john + 10/20/2008

Applet JTextField Size Problem
Hello,

I recently started making an applet to calculate certain values for airplanes. However

grouping within a foreach?
hello all,

I currently have a list of products spit out from my db via a foreach loop. Right

The repetition structure: the while statement not working
New programming student, have assignment as follows:
A restaurant has 4 lunch combos for custom

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash