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

single page with referrer to show correct page
I have a simple website with a couple of different pages. I would like to be able to in a div tag w

Delete HTML file after loading
I have limited experience with php and its been a year or two since I've last used it. I have a sma

Session problem?!?
Hello All! I am very new to the php world but I am working on fixing things that a previous programm

problem getting my contact form working
Yeah I know this is a pretty basic problem, but it's been a while since I've worked with PHP and I'm

Operating System
How in PHP or other language can I detect Operating system, ie Windows XP Home, Windows 7 Ultimate,

PHP Display Telephone Number On Referrer
I have used the php below to show a different telephone number in the header of the site depending u

Rss feed question
Hi

My blog and my website are different. Am i able to take my rss feed
from my blog and p

Parse Error
Hi Guys,

I have a function in my class which returns a string link variable. The problem is i

Help with usergroups? prolly really quick
So were coding our own forums for a game system we made an we have the users level setup but now I n

Chat Box in PHP
I was thinking in doing a Chat Box in PHP. For that I would use a form with two fields, Nick and Mes

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