Did I find the right examples for you? yes no

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

src/g/u/guts-0.2/src/guts.py   guts(Download)
 
            elif isinstance(val, datetime.date):
                tt = val.timetuple()
                val = float(calendar.timegm(tt))
 

src/a/w/awesomestream-HEAD/awesomestream/utils.py   awesomestream(Download)
            day=value.day)
    if isinstance(value, datetime.datetime):
        value = float(time.mktime(value.timetuple()) * 1e6)
    return value