This commit is contained in:
TJY
2026-07-16 08:31:52 +08:00
commit 8590fafac1
34 changed files with 2611 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
from datetime import datetime, timezone
from time import time
def epoch_ms() -> int:
return int(time() * 1000)
def utc_now() -> datetime:
return datetime.now(timezone.utc)