day of the year to date/timestamp

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
joxy [ Do, 31 Januar 2008 19:45 ] [ ID #1921927 ]

Re: day of the year to date/timestamp

"joxy" <osorio.hugo [at] gmail.com> schreef in bericht
news:63856e60-0cef-4f36-979e-9415b0460bfb [at] 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... ;-)
Luuk [ Do, 31 Januar 2008 20:15 ] [ ID #1921931 ]
PHP » comp.lang.php » day of the year to date/timestamp

Vorheriges Thema: php equivalent to printf("%d\n",__LINE__);
Nächstes Thema: Strange issue with print