Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PyMySQL/PyMySQL
/ DateFromTicks
Function
DateFromTicks
pymysql/times.py:10–11 ·
view source on GitHub ↗
(ticks)
Source
from the content-addressed store, hash-verified
8
9
10
def
DateFromTicks(ticks):
11
return
date(*localtime(ticks)[:3])
12
13
14
def
TimeFromTicks(ticks):
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected