MCPcopy Create free account
hub / github.com/apache/solr / unix_time_millis

Function unix_time_millis

dev-tools/scripts/releaseWizard.py:243–244  ·  view source on GitHub ↗
(dt)

Source from the content-addressed store, hash-verified

241epoch = datetime.fromtimestamp(0, UTC)
242
243
244def unix_time_millis(dt):
245 return int((dt - epoch).total_seconds() * 1000.0)
246
247

Callers 3

expand_jinjaFunction · 0.85
__init__Method · 0.85
set_doneMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…