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

void* and sizeof()
Hi,

Using void* and sizeof is it possible to get the value of the object ?

I understan

Kill a process
I have a question - how can I kill a process from a command line or by using Oracle SQL Developer? I

Credit card verification
I have a client who wants to process credit card transactions from his web site rather than the goin

a function to check directory depth
I'm working on a php script to upload files in to a set directory.
the user can select to upload

Fetching META TAGS through
Hello everybody
I want to fetch meta tags of a domain.
It will be done from following code of

Rounding a number queried from a database
I know that to display a rounded number you just do echo "round($number)";. But how would

Track downloads' status
Hello,

I need to make somehow, some system, to track whether downloads are completed or faile

calendar dates and hours compare problem
i have a calendar in wordpress, everything works great except that i can make 2 meetings at the same

Character increment
Hi,

I am facing a scenario like above,but in my case i want to show up like Col A,Col B etc..

MS Exchange 2007 integration with ECC 6.0
Hello Experts,
We have ECC 6.0 and MS Exchange 2007. We need to integrate ECC 6 and MS Excha

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