Loko wrote: > > Isn't there an already package that contains functions to convert a > number of seconds into year, days, hours, minutes and seconds ? >>> import time >>> time.localtime(1042726065) (2003, 1, 16, 9, 7, 45, 3, 16, 0) (The meanings of the specific fields returned can be found in the documentation of course.) -Peter