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

How to form a xml form table with a single sql statement..?
Hi everyone,
I don't know if this is going to be a duplicate thread but i couldn't

The IE or FF detector
Hello Friends,

Problem of today ( we seek for php help ) as following ,

we know all th

how to hide input fields on selection screen using variant attribute
Hello all,

I want to know how to hide input fields on selection screen using variant attr

Open browser page depending on XML results
Hello,

I have some PHP code that sends webbased from data to an external url ( in the form of

Not Inserting into DB
I can't get my Add new Division form to submit to the database. Anyone see my issue?

Code: &a

help connecting a form to php and then emailing the form
Ok. So, I made a form, and I need help to where when submitted, I get an email with the submitted de

Parse Error with doctype
I'm getting a parse error with this simple code. I don't get it. It worked one time then when I relo

Progress bar tracking file downloads
Hey guys, was wondering if there was a way to track how far a file has been downloaded. I know there

Clean URLs
Hi I was wandering if anyone has ever implemented URLs on their PHP run website using URLS like wiki

Edit MySQL Row Using PHP and HTML Form
Hello,

Here's what I'm trying to do. Build a page where a user enters a MySQL row number in.

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