Re: Retrieve datevalues from seconds
| From: | Fredrik Arild Takle | Date: | Thu, 21 Jun 2001 10:13:33 +0000 |
| Subject: | Re: Retrieve datevalues from seconds | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-54713@lists.php.net to get a copy of this message | ||
Check: http://www.php.net/mktime
Fredrik:)
""David Lidström"" <david.lidstrom@home.se> wrote in message
news:9gs9a8$bdo$1@w153.z064000151.sjc-ca.dsl.cnc.net...
> Hi!
>
> If i have a number of seconds, i.e. 30667 - is there
> any easy way to extract hours, seconds,days etc. from this?
>
> I.e.
> foobar ( 120 )
> -> 0 days, 0 hours, 2 minutes.
>
> ?!?!
> \david
>
>
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>