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

Using cURL to PUT
Can somebody help with the correct php code to make a cURL PUT request. Here is a sample of code bel

search function
HI guys,

if anyone could point us in the right direction of how to do this, or provide some t

array empty
Hiya peeps,

Ok here is the codes.

order.php

Code:

Socket Server
In my following socket server, I am trying to listen to a connection through port 12345 in my web br

Give me all your tricks for minimizing jar file size

Hi, I'm coming close to releasing my J2ME game... I am kicking up against the 64k size barrier w

INSERT for date range
Hi all

I have the following table

Code: [Select] `date` date
`day` int(2)
`

private constructor
Hello,

Can we create a constructor as private? If yes, what is the use of it? If no, why can'

At max how many columns is advisable to create in a table/view
Hi All,
I have two transaction table from which i want to create a simple view or material

ALV grid with 2 headers
Hi Gurus,

I need to display ALV GRID as below.

Header1

While Problem
i am having a problem with a while statement here is the code
Code: [Select]<?php
sess

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