【发布时间】:2011-10-25 11:23:11
【问题描述】:
可能的重复:
Calculating difference in dates in Java
How can I calculate a time span in Java and format the output?
假设给你两个日期作为字符串,它们是这种格式 8/11/11 9:16:36 PM 我将如何将它们转换为 java Date 对象,以便我可以计算两个日期之间的差异?
【问题讨论】:
标签: java datetime date-difference