<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def timecode(time_now, interval):
 """ make integer and divide by time interval of valid OTP """

    i = time.mktime(time_now.timetuple())
    return int(i / interval)