RE: [PHP-DEV] Missing date() functionality

From: Date: Tue, 14 Aug 2001 20:16:09 +0000
Subject: RE: [PHP-DEV] Missing date() functionality
Groups: php.dev 
Request: Send a blank email to php-dev+get-63178@lists.php.net to get a copy of this message
Ok, thanks for pointing that out, but it seems rather strange to use a string function when you need to do a date operation?! I would guess that everyone looking for a way to handle dates and time would look in the date and time functions part of the manual. There should AT LEAST be a reference to strftime() from date()! André Næss > -----Original Message----- > From: Christian Joergensen [mailto:mail@phpguru.dk] > Sent: 15. august 2001 00:18 > To: André Næss; php-dev@lists.php.net > Subject: Re: [PHP-DEV] Missing date() functionality > > > On Tuesday 14 August 2001 22:03, André Næss wrote: > > Wouldn't it be nice if date() returned the weeknumber? I was rather > > appalled when I realized this wasn't available... Have I > missed something? > > The other date related functions also seem to miss > functionality like this. > > You can do that with strftime: > > http://php.net/manual/en/function.strftime.php > > -- > Christian Jørgensen | "Ford, you're turning into a penguin" > http://www.razor.dk | "Stop > it" > > -- > PHP Development Mailing List <http://www.php.net/> > To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net > For additional commands, e-mail: php-dev-help@lists.php.net > To contact the list administrators, e-mail: > php-list-admin@lists.php.net >

« previous php.dev (#63178) next »