|
1
2
使用属性
或使用
编辑:
|
|
|
2
1
检查这个答案 calculate the difference between two datetime.date() dates in years and months
|
|
3
0
你可以分一个
|
|
|
4
0
你可以通过
如果需要的话,将结果取整。
熊猫
直接获得全年差异。 |