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

show random images
hey guys

can someone please suggest a way in which the following code can be edited so it onl

Mysql error message
help me find out what this error message means:

"Duplicate entry '0' for key 'PRIMARY'&q

records between 2 dates
Hello all,

I have a date tracked table which contains effective_start_date and effective

Adding meta tags under Zend FW
Hello there, recently has come to my hands the FTP of a website which is running under Zend, I would

Curly Bracket Delimeters.
I'd always believed that the starting and ending delimeters in preg_ functions had to be the same ch

Target costs on Process orders not calculating
Hi All,

We have released standard costs for all the materials. We have also done Goods r

Socket programming
Hello all,

I have a PHP socket script. GPS trackers connect to this socket. IMEI verification

Delete all from a table
I can not get the following code to work. If I run the sql statement in the db it will delete all t

Change Age automatically
hi guys . im new to php , is it possible to change age value in mysql automatically when year change

update 2 columns by doing inner 2-column query
Hi,
is something like this possible?

update contract_all set col1,col2 =
(

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