def date_seconds(timestr):
    'from str return seconds'
    (t_a, msec) = date_time(timestr)
    return (time.mktime(t_a) + msec)
from str return seconds
def date_seconds(timestr):
    
    (t_a, msec) = date_time(timestr)
    return (time.mktime(t_a) + msec)