day of the year to date/timestamp

day of the year to date/timestamp

am 31.01.2008 19:45:10 von joxy

Hello comunity,

is there any way in order to convert or to have a date from 1.the day
of the year (the consecutive) and 2.the year

i need to get the whole date having theses data... and i haven't found
the solution... anybody has an idea?

thank you very much

Re: day of the year to date/timestamp

am 31.01.2008 20:15:36 von Luuk

"joxy" schreef in bericht
news:63856e60-0cef-4f36-979e-9415b0460bfb@s8g2000prg.googleg roups.com...
> Hello comunity,
>
> is there any way in order to convert or to have a date from 1.the day
> of the year (the consecutive) and 2.the year
>
> i need to get the whole date having theses data... and i haven't found
> the solution... anybody has an idea?
>
> thank you very much

date("d-m-Y", mktime(0,0,0,1,367,2008))
will return '01-01-2009'

so, ... it should be possible... ;-)