Re: date

From: Date: Tue, 03 Dec 2002 14:27:30 +0000
Subject: Re: date
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-126851@lists.php.net to get a copy of this message
Hi Shaun, > please could someone tell me how i can return a month in text from an int ie > getMonth(12) > returns Decmber. Is this possible? No. If you want to stick with this, write your own function to look up a text array. If the "12" is part of more data coming in from a form or db (for example), then give us the wider picture and a 'built-in' solution may become possible. =dn

« previous php.general (#126851) next »