Re: Programming problem... Date day locater!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



JC Botha wrote:
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

http://php.net/manual/en/function.date.php

<?php

echo date('d');

?>

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux