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?

Did you know?Explore Trending and Topic pages for more stories like this.
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

Inserting into MySQL Newbie
Hi ive got a slight problem where ive made a simple web form where the customer inserts the ammount

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

array empty
Hiya peeps,

Ok here is the codes.

order.php

Code:

Paypal
Hi all,

I have an advanced basic knowledge of php

I want to try something new for a s

Where do I put CRON code
So I've figured out alot about how to automatically run a php function. I can't figure out where to

My query is being run with no results.
I have this.

Code: function DropUser($duser_id, $user_email, $user_username) {

Populate drop down list from table??
Lets say for arguments sake that i have a table which contains the numbers 1 to 10.
How can i get

ALV List Display to point to another report on Double Click
Hi,

I want my ALV List Display to point to another report on Double Click on its line ite

Schedule editor
Hi,

I have a question related to Schedule editor.
If we schedule a BLS for every 30

PHP and XML image gallery variable issue
I'm trying to display the large image on the same page as the thumbnails, to do that I'm passing a v

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