Re: Formatting Time
| From: | Analysis & Solutions | Date: | Wed, 15 May 2002 22:17:48 +0000 |
| Subject: | Re: Formatting Time | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-97834@lists.php.net to get a copy of this message | ||
Devin:
> I want to a kewl script that will format time from seconds. I have a script
> that returns the number of seconds a person has been an employee and
> I want to format it in human readable format like:
>
> 1 year 6 months 14 days, etc.
Start with the manual:
http://www.php.net/manual/en/ref.calendar.php
http://www.php.net/manual/en/ref.datetime.php
--Dan
--
PHP classes that make web design easier
SQL Solution | Layout Solution | Form Solution
sqlsolution.info | layoutsolution.info | formsolution.info
T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y
4015 7 Av #4AJ, Brooklyn NY v: 718-854-0335 f: 718-854-0409