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

Number Format
Hi All,

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

sql problems
I am having a small problem with my sql statement. it is inserting into 4 of the fields.

fie

User input in to variable
Hi all,

I'm sure this is very easy but I'm having another brain freeze!

At the end of

help, header() is not working!
Hello, I have this code:


<?php

/**
* @author samoi
* @copyright 200

GET * FROM _____ Except?
I have a site that is for stock photography.

This section of the code calls images to display

Search with relational database
Hey,

I have quite a complicated (for me anyway ) relational database for an apartments syste

IF STATEMENT HELP
Hi
i have created a calendar from a table:

Code: Calendar: October 2009
<table w

What makes a script your own?
If someone finds a login script online, and changes some variable names around and some other minor

Passing Arguments to execlp()
I'm writing a program that mimics a unix shell. It's supposed to take commands with arguments and ex

Splitting Attributes
SQL> SELECT I_NAME, substr(I_NAME,1,instr(I_NAME,'O')) "First part",

substr(I_NAME, IN

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