<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def time2seconds(t):

 """Returns seconds since 0h00."""

    return t.hour * 3600 + t.minute * 60 + t.second + float(t.microsecond) / 1e6