add get_datetime

This commit is contained in:
cheykrym 2025-07-02 00:56:15 +03:00
parent 2e20fb9557
commit 2c0e292ce0
2 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1,3 @@
from .utils import get_datetime
__all__ = ["get_datetime"]

View File

@ -0,0 +1,6 @@
from datetime import datetime, timezone
def get_datetime():
utc_now = datetime.now(timezone.utc)
return utc_now