【发布时间】:2017-08-23 13:49:14
【问题描述】:
我可以像这样从箭头获取当前日期时间:
arrow.utcnow().date()
或
arrow.get('2017-02-01').date()
如何获取前一天的日期时间?这不起作用:
arrow.utcnow().date() - 1
或
arrow.get('2017-02-01').date() - 1
【问题讨论】:
标签: python datetime arrow-python