# -*- coding: UTF-8 -*-
# 作者：huanhuilong
# 标题：Python 时间日期
# 描述：常用日期时间处理


from datetime import datetime, timedelta


if __name__ == '__main__':
    today = datetime.now()
    print(today)
    print(today.strftime("%d/%m/%y"))
    print(today.strftime("%A %d %B %Y"))

    yesterday = today + timedelta(days=-1)
    print(yesterday)

    nextday = today + timedelta(days=1)
    print(nextday)
