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日期對象,以便我可以計算兩個日期之間的差異?