from datetime import datetimenow = datetime.now()seconds_since_midnight = (now - now.replace(hour=0, minute=0, second=0, microsecond=0)).total_seconds()
还是
datetime.now() - datetime.now()
在这里为任何人返回零timedelta?
欢迎分享,转载请注明来源:内存溢出
from datetime import datetimenow = datetime.now()seconds_since_midnight = (now - now.replace(hour=0, minute=0, second=0, microsecond=0)).total_seconds()
还是
datetime.now() - datetime.now()
在这里为任何人返回零timedelta?
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)