MCPcopy Create free account
hub / github.com/NanmiCoder/MediaCrawler / get_current_timestamp

Function get_current_timestamp

tools/time_util.py:30–35  ·  view source on GitHub ↗

Get current timestamp (13 digits): 1701493264496 :return:

()

Source from the content-addressed store, hash-verified

28
29
30def get_current_timestamp() -> int:
31 """
32 Get current timestamp (13 digits): 1701493264496
33 :return:
34 """
35 return int(time.time() * 1000)
36
37
38def get_current_time() -> str:

Callers 4

add_contentMethod · 0.90
update_contentMethod · 0.90
add_commentMethod · 0.90
update_commentMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected