Order Tray | Contact Us | Home | SIG Lists

[aprssig] MySQL difference in time

Tom Hayward tom at tomh.us
Fri Dec 21 10:10:17 UTC 2007


Subtraction then division?

( (unix now) - (unix then) ) / 3600 = elapsed hours

Maybe your problem is more complex than I understand it to be.

Tom KD7LXL

On Dec 21, 2007 1:45 AM, Andrew Rich <vk4tec at people.net.au> wrote:
>
>
> Anyone good at time calcs in perl ?
>
> I want to be able to say "It has been 7 hours 15 minutes" since we last
> heard XYZ
>
> Do I have to go back to unix time ?
>
>
>
> ----------------------------------------------------------------------------
> Andrew Rich VK4TEC
> vk4tec at people.net.au
> http://www.tech-software.net
>
>
>
> _______________________________________________
> aprssig mailing list
> aprssig at lists.tapr.org
> https://lists.tapr.org/cgi-bin/mailman/listinfo/aprssig
>
>




More information about the aprssig mailing list