Re: calculate time span
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.tcl archive

Re: calculate time span

From: Lisa Pearlson <no@spam.plz>
Date: Sun Feb 26 2006 - 19:28:02 CET

Why does it break after a year?

"Uwe Klein" <uwe_klein_habertwedt@t-online.de> wrote in message
news:67d6d3-8m7.ln1@robert.houseofmax.de...
>
> get the difference in seconds, see that it is positiv.
>
> i found it usefull to format with
> [clock format $diff -fmt "%j Days %T" -gmt 1]
>
> be shure to use "-gmt 1", no timezones in differences.
> breaks after a year/365Days.
>
> uwe
Received on Sun Apr 30 02:16:08 2006