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

Email to a friend script problems
I have this send-to-a-friend script with 2 issues:


1) When you open the form popup on a p

Solution Manager BPR
Does the SolMan-BPR-ARIS-Integration (http://www.ids-scheer.com/en/ARIS/ARIS_Platform/ARIS_Business_

Display thumbnails as square while retaining aspect ratio
I am trying to figure out a way to make an image display as a square, for example 80x80 pixels, when

Form errors in an array
I'm processing a form and putting the errors in an array. empty($errors) doesn't seem to do the tric

writing a screen scraper
Hello,

I'm writing a screen scraper application and want to be able to get absolute addresses

Points for Wiki contribution
Hi everyone,

I want to know how long does it take for the moderator to award points for a

Get last modified date of web page
Hai All,

In php how can i get last modified date of a give web page . I have tried to g

Using unserialize()
Hi there.

I have some data in my database that is serialized.

e.g.

a:2:{i:0

AJAX form submit
I recently built a form that submits data to my database with an ajax function that is called throug

Inserting the current date/time while submitting the forum
What do I need to add below to update the current date/time? I have a field in the database called d

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