java replace new Date(year - 1900, month, day, hour, minute, second) code example Example: operation sur les dates java dtEndDate.getTime() - dtStartDate.getTime()