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

background color imagefill
Hello

I would like to ask you why I see this square in red color just in my local xampp insta

distinct rows
Hi
version 10.2.0.3

I have a query output something like the following

ID

CODE NOT WORKING
Code: [Select]<?php
//include shared codes

include '../lib/common.php';
include

split string
Hi all

i have some names (imploded by comma):
Code: toronto,paris,madrid
Now, i would

How to restrict the display of report variants
Hello All,

I want t know how to restrict the display of report variants.
I mean, whe

Email with Attachments in PHP
Hi Friends

How to send email in PHP with attachment.
I know simple mail can be sent with

Text Not Displaying Correctly With PHP:GD
I recently moved servers and since then I have noticed that one line of text is showing weirdly.

help with email script...
hey

I need help with my mail script

when the form on http://www.mcgdesignstudio.com/c

Sending CC Info by email
I am a little bit less knowledgable in the security area as most developers and I know I have a lot

Transform value 0 in no and 1 in yes help needed
Hello,
I have this in the table: "value" type int 0 to represent false and 1 to represe

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