level 6
367 : 7月25日
#Mathematica Tip#
Get the duration between any two dates/times in any unit: DateDifference[ {2012, 1, 1}, {2013, 1, 1}, "Hour" ].
2013年03月29日 02点03分
1
吧务
level 9
麻烦点的方法,Subtract @@ (MixedRadixQuantity[#, {"Years", "Months", "Days"}] & /@ {{2013, 3, 29}, {2012, 1, 1}})
UnitConvert[%, "Hours"]
2013年03月29日 10点03分
5
回复 0577216 :是啊
2013年03月30日 06点03分