> -TZ = os.difftime(os.time(os.date("*t", 0)), os.time(os.date("!*t", 0))) > +t = os.time() > +TZ = os.difftime(os.time(os.date("*t", t)), os.time(os.date("!*t", t))) Of course, os.time(os.date("*t", t)) should be replaced by t. -- Roberto