MCPcopy Create free account
hub / github.com/Freedium-cfd/web / get_unix_ms

Function get_unix_ms

medium-parser/medium_parser/time.py:38–45  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

36
37
38def get_unix_ms() -> int:
39 # Get the current date and time
40 current_date_time = datetime.now()
41
42 # Convert to the number of milliseconds since January 1, 1970 (Unix Epoch time)
43 milliseconds_since_epoch = int(current_date_time.timestamp() * 1000)
44
45 return milliseconds_since_epoch

Callers 1

query_post_graphqlMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected