date-difference

    1热度

    3回答

    可能重复: 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日期对象,以便我可以计算两个日期之间的差异?