mirror of
https://github.com/MikuLeaks/KianaBH3.git
synced 2025-12-15 14:24:34 +01:00
Initial commit
This commit is contained in:
11
game_server/utils/__init__.py
Normal file
11
game_server/utils/__init__.py
Normal file
@@ -0,0 +1,11 @@
|
||||
import time as t
|
||||
from time import time
|
||||
|
||||
def cur_timestamp_ms():
|
||||
return int((time() * 1000))
|
||||
|
||||
def cur_timestamp_seconds():
|
||||
return int(time())
|
||||
|
||||
def get_unix_in_seconds():
|
||||
return int(t.time())
|
||||
Reference in New Issue
Block a user