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?

Did you know?Explore Trending and Topic pages for more stories like this.
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

How to schedule the a job?
Hi,
I have prepared a task ( i.e. a procedure is prepare the file and send the same to con

UDP server recvfrom() always returns -1? :(
Hello all,
I am getting a very strange error in my code :( I am writing a server application in C

Image loading
Hi Developers,

I'm trying to display an image from images/image.gif getting the url from mysq

Ten Operator Syntax
Hi Guys,

I can't figure out why i am getting a parse error with this basic ten op code:

Number Format
Hi All,

I have number '000000000050085' I want to format it to 500.85 Can any one give me

form problem
below in the form action, i've put "test.php?w=$sw&h=$sh" but when i input the for

array help
Does anyone know how to require 10 text fields for individual grades and output class average? (10 p

Showing selected item at top of list
Hi,

I've got a list of names which i am fetching from database like this:
$qry = db_query

how do i make a string??
hey guys,
can someone please tell me how to put data from the glob function into a string

Unique Visitor Tracking
Hello. Currently, I run a voting site where voters are tracked by their IP address and can only vote

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