Differenza tra date
Calcola il tempo tra due date.
Aggiungi o sottrai giorni, mesi e anni.
Month and year shifts clamp to the last valid day of the target month. With weekends excluded, one week uses the number of selected working weekdays.
I metodi dettagliati e gli esempi sono disponibili in inglese.
Days and weeks shift the calendar date directly. Month and year shifts preserve the day when possible and otherwise clamp to the last valid day. Excluding weekends counts only Monday through Friday; one excluded-weekend week means five working days.
Adding one month to 31 January 2025 gives 28 February 2025. Adding one working day to a Friday gives the following Monday.
Find a date a fixed interval before or after an event, or compare calendar-month and day-based deadlines. Month arithmetic is useful for anniversaries, while day arithmetic is appropriate for a stated number of elapsed days.
The day is clamped to the last valid day of that month. For example, one month after January 31, 2025 is February 28, 2025.
In the weekend-exclusion mode, one week represents five counted working days. Check that this convention matches your intended schedule.