5 lines
218 B
Python
5 lines
218 B
Python
from datetime import datetime, timezone
|
||
|
||
def current_utc_time():
|
||
"""Возвращает текущее UTC-время, для синхронизации с RTC"""
|
||
return datetime.now(timezone.utc).isoformat()
|