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