days = int(last) / 86400 seconds = last - days*86400 I've kludged some printing. days is a float, for example: 17504.9482755 is int/int supposed to result in an int or a float? I expected it to be an int. This code used to work. Trying by hand, I get an int... -- These are my opinions. I hate spam.