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

Login Functionality Working Different on IE
This is an odd one, I have a site which has an admin section. The admin pages unsurprisingly require

Refining of search Criteria
Dear Friends

I need a help, I have a search page which of cars related, which has different s

Custom CMS
This is a big custom CMS script I'd like to develop and would like some help atleast figuring out wh

Creating a custom API
I'm creating a site, and I need to create a basic API. Unfortunately I have no idea where to start.

How many users online in the last 24-hours using time()?
I'm fairly new to PHP. I have a MySQL table called 'users' and a field called 'loggedin' which is in

fwrite error
Hi All,
Does anyone know what is causing the error in this code?

Code: <?
$error

Multiple arrays inside data
Hi,

Simple question. I have a column called "array" in my database, and inserted in

contact form - output to page and email
I have the following in my controller:

$message['name'] = htmlentities(strip_tags(trim($_POST

login from external site
Hi my new experience begins, Now what i am trying to do is i make three pages, login.php logout.php

Echo multiple lines of html code
Hi guys,

I would like to know if there is a way to echo multiple lines of html codes.

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