Number of months between 2 dates


 A
1=TODAY() = Tuesday 01 October 2024
2=NOW() = Tuesday 01 October 2024 06:08:01
3=DATEDIF(A1, A2, "M") = 0
4=DATEDIF("01/01/2003", "28/04/2003", "M") = 3

1 - Displays the current date. Custom format "dddd dd mmmm yyyy".
2 - Displays the current date and time. Custom format "dddd dd mmmm yyyy hh:mm:ss".


Built-in Functions

DATE - The date as a date serial number given a year, month, day.
NOW - The date serial number of the current system date and time.
DATEDIF - (Compatibility) The number of days, months or years between two dates.


User Defined Function

DATEDIFFERENCE - Returns the number of days, months or years between two dates.


Related Formulas

Return the current month
Subtract months from a date
Number of days in a particular month
Number of days left in the current month
Number of days left in the current year
Number of weeks between 2 dates


© 2024 Better Solutions Limited. All Rights Reserved. © 2024 Better Solutions Limited Top