Compare DATEDIF vs TODAY
2 vsCompare DATEDIF vs TODAY side-by-side — differences, popularity and recommendation
Presets:
VLOOKUP vs XLOOKUP
SUM vs SUMIFS
INDEX vs MATCH vs XLOOKUP
IF vs IFS vs SWITCH
COUNT vs COUNTA vs COUNTIF
AVERAGE vs AVERAGEIF vs AVERAGEIFS
MAX vs LARGE vs MIN
TEXT vs TEXTJOIN vs CONCAT
FILTER vs SORT vs UNIQUE
ROUND vs ROUNDUP vs ROUNDDOWN
All functions
Pick at least 2 functions
Feature
Category
Date & Time date-time
Date & Time date-time
Popularity
70 / 100
40 / 100
Views
◉ 5 views
◉ 10 views
Output
Number
Date
Version
All versions
All versions
Volatile
No
Yes
Dynamic Array
No
No
Description
Calculates the number of days, months, or years between two dates.
The TODAY function returns the serial number of the current date. The serial number is the date-time code used by Excel for date and time calculations. If the cell format was General before the function was entered, Excel changes the cell format to Date. If you want to view the serial number, you must change the cell format to General or Number. The TODAY function is useful when you need to have the current date displayed on a worksheet, regardless of when you open the workbook. It is also useful for calculating intervals. For example, if you know that someone was born in 1963, you might use the following formula to find that person's age as of this year's birthday: = YEAR( TODAY())-1963 This formula uses the TODAY function as an argument for the YEAR function to obtain the current year, and then subtracts 1963, returning the person's age.
Syntax
=DATEDIF(start_date,end_date,unit)=TODAY()Arguments
3 Arguments
start_date
end_date
unit
0 Arguments
Examples
2
5
Tips
2
0
★ Recommendation — Winner: =DATEDIF()
=DATEDIF() is recommended based on higher popularity, newer version and Dynamic Array support.