python 时间比较

datetime.datetime.strptime(t_time, '%Y-%m-%d %H:%M:%S') > datetime.datetime.now()
原文地址:https://www.cnblogs.com/angdh/p/14636105.html