RE: [PHP-WIN] Programming problem... Date day locater!
| From: | Wagner, Aaron | Date: | Wed, 04 May 2005 17:06:31 +0000 |
| Subject: | RE: [PHP-WIN] Programming problem... Date day locater! | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-25965@lists.php.net to get a copy of this message | ||
date ( string format [, int timestamp ] )
z - The day of the year - 0 through 366
$doy = Date("z") ;
http://us2.php.net/manual/en/function.date.php
aaron
> -----Original Message-----
> From: JC Botha [mailto:odegos@gmail.com]
> Sent: Wednesday, May 04, 2005 11:46 AM
> Cc: php-windows@lists.php.net
> Subject: [PHP-WIN] Programming problem... Date day locater!
>
> Hi there to all.
>
> I need to get the day number of any given date. Like if the date 20
> Jan 2005 is given I need to calculate that it is day 20 in the year.
>
> Any thoughts on solving this would be much appreciated.
>
> Chris
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>