|
Posted by Janwillem Borleffs on 10/13/36 11:30
Bruintje Beer wrote:
> Is there a function to convert the day number of the year to a date
> in the format dd-mm-yyyy.
>
> example : daynumber 32 in the year 2005 should give 01-02-2005
>
use mktime(), as in:
$time = mktime(0, 0, 0, 1, 32, 2005);
print date("d-m-Y", $time);
JW
[Back to original message]
|