Re: Problems with time calculation
| From: | Kazazic, Almir | Date: | Fri, 29 Sep 2000 07:33:31 +0000 |
| Subject: | Re: Problems with time calculation | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-18009@lists.php.net to get a copy of this message | ||
you can make
select unix_timestamp(Start) as Start , unix_timestamp(End) as End than you
will have difference in sec with that you can do anything you want
"Mai Truong" <m.truong@login-freiburg.de> schrieb in im Newsbeitrag:
70A4DE078A58D311BE2100A0248664520DB1BC@SERVER_WERK...
"Mai Truong" <m.truong@login-freiburg.de> schrieb in im Newsbeitrag:
<70A4DE078A58D311BE2100A0248664520DB1BC@SERVER_WERK>...
> I need some help for the following problem:
>
> I created a table with two columns taking the column type 'time' .
> Trying to subtract the times that I filled in from each other, PHP only
> delivers the difference of the values of the hours.
> Could anyone tell me , what I did wrong or how I should proceed to get the
> result in the format hh:mm:ss?
> Thanx in advance
> Mai
>
>
> --
> 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
>