import time t1 = time.strptime(time1, "%Y%m%d") t2 = time.strptime(time2, "%Y%m%d") print t1 < t2
37,719
社区成员
34,238
社区内容
加载中
试试用AI创作助手写篇文章吧