6 lines
135 B
Python
6 lines
135 B
Python
|
|
from datetime import datetime
|
||
|
|
|
||
|
|
|
||
|
|
def get_timestamp() -> int:
|
||
|
|
dt_millis = int(datetime.now().timestamp() * 1000)
|
||
|
|
return dt_millis
|