from random import *from time import *date1 = (2005, 1, 1, 0, 0, 0, -1, -1, -1)time1 = mktime(date1)date2 = (2006, 1, 1, 0, 0, 0, -1, -1, -1)time2 = mktime(date2)