RE: [PEAR-DEV] Proposed new package: Time.

From: Date: Fri, 21 Feb 2003 13:31:01 +0000
Subject: RE: [PEAR-DEV] Proposed new package: Time.
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-13547@lists.php.net to get a copy of this message
> -----Original Message----- > From: Xavier Noguer [mailto:xnoguer@rezebra.com] > Sent: Friday, February 21, 2003 1:31 PM > To: Wolfram Kriesing; Leandro Lucarella > Cc: pear-dev@lists.php.net > Subject: Re: [PEAR-DEV] Proposed new package: Time. > > El Vie 21 Feb 2003 08:31, Wolfram Kriesing escribió: > > since i can not open the files i am still waiting ... > > but i am definitely interested too. but i would like to see the code, > > to see if something like converting > > 2,0 h to 02:00 > > 3,5 h to 03:30 > > since that is something i am also looking for > > another thing that i could imagine is converting hours to > > days/months/year, this is interesting for example, when you say: i > > worked 120 hours this month, this is > > 120/8 = 15 man days (is it called that way in english?) > > or a project took 2 man years which is then calculated into > > hours/days/etc. > > therefore of course you need to set the ratios, like > > 1 d = 8h > > 1 year = ?? days ... etc. > > That seems to me like another good reason for trying to add this to Date, > instead of making it a new package. > > If adding it to Date is not possible, +1 anyway. Yeah I would also say that it would the most sense to add the functionality to Date. I rarely handle times and not dates in the same script. And I assume this would be the case for most people, therefore the combination would not be bloate. Regards, Lukas

« previous php.pear.dev (#13547) next »