📜  从日期时间索引中删除 mili sencond - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:23.705000             🧑  作者: Mango

代码示例1
>>> d = datetime.datetime.today().replace(microsecond=0)
>>> d
datetime.datetime(2015, 7, 18, 9, 50, 20)