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

compile php5 with DOM
Hi,

I can't manage to compile php 5.3.0 from source on Windows to include DOM,
in spite of

Connecion issue
Hi,

For some reason, I keep getting this error when trying to connect:

Warning: mysql_

Search in the PHP Files
have to search asterisk(*) in the php code of the php files .
In the html page one text box

Creating Images from images in PHP
Okay well I am trying to make a 'dynamic' calender image with PHP.

I have images like this:

Kill a process
I have a question - how can I kill a process from a command line or by using Oracle SQL Developer? I

Number Format
Hi All,

I have number '000000000050085' I want to format it to 500.85 Can any one give me

preg_replace question
Hello!!

I hope someone can help me with preg_replace.

I load two tables from an extern

Online Event Ticket Sales
Has anyone wrote a script for online tickets sales?

I have been googling and found lots of th

Typing math
I've added support for typesetting math using LaTeX on the forums.

Example:
Code: [Select]

Collecting AOL Search Terms
I am attempting to collect AOL search terms. I know the code is correct (it works for google, bing,

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