RE: [PHP] getting month from date variable

From: Date: Thu, 12 Feb 2004 09:11:11 +0000
Subject: RE: [PHP] getting month from date variable
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-177486@lists.php.net to get a copy of this message
Don't reinvent.... http://www.php.net/manual/en/function.strftime.php -----Original Message----- From: Angelo Zanetti [mailto:binc2@ctech.ac.za] Sent: donderdag 12 februari 2004 10:13 To: Php-General@Lists.Php.Net Subject: [PHP] getting month from date variable HI, I have looked the php manual and cannot find a function where I can extract the month (in words) from a variable which contains a date. eg: I input : 2004-01-26 and the function must return: January Is there a php function like this? I dont want to reinvent the wheel. If there isnt i will have to write my own. Thanx in advance. Angelo -------------------------------------------------------------------- Disclaimer This e-mail transmission contains confidential information, which is the property of the sender. The information in this e-mail or attachments thereto is intended for the attention and use only of the addressee. Should you have received this e-mail in error, please delete and destroy it and any attachments thereto immediately. Under no circumstances will the Cape Technikon or the sender of this e-mail be liable to any party for any direct, indirect, special or other consequential damages for any use of this e-mail. For the detailed e-mail disclaimer please refer to http://www.ctech.ac.za/polic or call +27 (0)21 460 3911 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#177486) next »