MCPcopy Index your code
hub / github.com/python/cpython / DateFromTicks

Function DateFromTicks

Lib/sqlite3/dbapi2.py:39–40  ·  view source on GitHub ↗
(ticks)

Source from the content-addressed store, hash-verified

37Timestamp = datetime.datetime
38
39def DateFromTicks(ticks):
40 return Date(*time.localtime(ticks)[:3])
41
42def TimeFromTicks(ticks):
43 return Time(*time.localtime(ticks)[3:6])

Callers

nothing calls this directly

Calls 1

DateClass · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…