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

check if value exists
I have googled this for a while and I am getting lots of different results. Is there a standard meth

add to sql result
ok see rite now my sites hit counter is counted from the mysql visitor log i need to clear it aft

help with multi-update
Now sure how to ask this really....
10g database if that matters.

I have a customer

Can't get the unicode character
I'm trying to get some text from various parts of a file. I have converted the file to hex (bin2hex)

DATEDIFF Question
First time post, and of course it is a help question.

I am using a WP plug-in to display prev

IDOC error
Hi, When i send IDOC from ECC system to MII there is no problem ECC side, i says message sent succe

getting rid of quotes in strings
sick of trying to deal with them in multiple ways (entering in and taking from database, echoing, ec

how to remove in php string display
My code is

$message="We're looking at developing our website.";

$body= "

include
Hi I have this way of licensing my PHP application, and I want to know if you guys can answer some q

Creating XML with php
I need to creat an XML with php and have successfully produced a valid output.
The problem I hav

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