标签: python python-3.x python-2.7 datetime odoo-8
Python. How to get start and end date from list of dates
答案 0 :(得分:0)
日期时间已经在排序中构建。
from datetime import datetime a = datetime(1990, 1, 1) b = datetime(2000, 1, 1) min(a, b) >>datetime(1990,1,1)