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

Required to login help
I'm trying to set up my site so users have to be logged into the forum to access the site.I've been

Windows 7
Windows 7 default user account control worries experts. Corporate IT departments should be pleased w

Just cannot get 'area' to submit to db using same php code as already used
Basically all i have done is just modified some code and added an area section.
The form is allre

Disable Scrollbar in TableControl
Hello everbody,

please can anybody help me - outherwise i'm going to become desperate :P<

Adding Outlook 2007 items via file upload
I am looking for a way to be able to attach an Outlook item (an email message) in an ASP.NET 3.5 app

subtract 1 from value entered in text field
Hi

How do I subtract 1 from the vaue entered into a text field?

Thanks

Strange array issue, never happened before.
mysql_fetch_array returns 1 array per call. Generally that's why it is inserted into a while statem

weeks in a year
hi,

i found this snippet on php.net
QuoteFor the week number for weeks starting on Sunday:

Bandwidth monitoring?
Hi guys,

I need a little information I have written a php app and I occurred to that I need

the problem with str_replace
$str="hahahahahahahahahahahahahaha";
$nn=1;
$str=str_replace('ha','MyGod',$str,$nn);

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