at the start and end of my program, I have
from time import strftime print int(strftime(\"%Y-%m-%d %H:%M:%S\") Y1=int(strftime(\"%Y\")) m1=int(strftime(\
from time import time start_time = time() ... end_time = time() seconds_elapsed = end_time - start_time hours, rest = divmod(seconds_elapsed, 3600) minutes, seconds = divmod(rest, 60)