Did I find the right examples for you? yes no

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)

        def inttime(dt):
    return int(time.mktime(dt.timetuple()))
        


src/p/y/pykmaze-HEAD/pykmaze/keymaze.py   pykmaze(Download)
#-----------------------------------------------------------------------------
 
from util import hexdump, inttime
import datetime
import struct
            dtime -= lap_min*60
            lap_sec = int(lap_min)
            tp = { 'start': inttime(datetime.datetime(2000+yy,mm,dd,hh,mn,ss)),
                   'time' : 3600*lap_hour+60*lap_min+lap_sec,
                   'distance': dst,