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

Polymorphism
Was wondering if someone could explain this a little better to me. I had always assumed that it had

Using CSS to format MySQL query
Hi,

If i want to have a news page on my site, which displays all records of a table in descen

Connect to database that isn't localhost
I am currently doing a small script for a company that doesn't have mySql support on there hosting.

Xml parsing
I need a suggestion about parsing xml with multiply parts like pervious...
i.e. different device

php require help needed
Ok i tried to use the search funtion but the word require is everywhere.

i'm really new to cr

Database 'Validation'
Hi everyone,
I'm trying to validate the password entered by the user with the password in the dat

Interpret Order
Hello all,

I'm wondering if I have this:

Code: $switch = array(
'one' =>

session checking in page load
hai all I have a web site is www.Mryas.com in this my login page is Page1.aspx its co

Check if another session of the page is running?
I want to keep people from opening multiple tabs, or sessions of my Facebook app. Is it possible to

how do i display data on a page from mysql
1 - do i use this code at the top of each of my page i wish to only alow access if there as been a s

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