📜  sqlalchemy datetime utcnow - 任何代码示例

📅  最后修改于: 2022-03-11 14:56:27.278000             🧑  作者: Mango

代码示例1
from pytz import timezone
from datetime import datetime

UTC = timezone('UTC')

def time_now():
    return datetime.now(UTC)