day of the year to date/timestamp

This is a discussion on day of the year to date/timestamp within the PHP Language forums, part of the PHP Programming Forums category; Hello comunity, is there any way in order to convert or to have a date from 1.the day of ...


Go Back   Usenet Forums > PHP Programming Forums > PHP Language

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-31-2008
joxy
 
Posts: n/a
Default 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
Reply With Quote
  #2 (permalink)  
Old 01-31-2008
Luuk
 
Posts: n/a
Default Re: day of the year to date/timestamp


"joxy" <osorio.hugo@gmail.com> schreef in bericht
news:63856e60-0cef-4f36-979e-9415b0460bfb@s8g2000prg.googlegroups.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... ;-)



Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 10:03 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0