Google Sheets - DAYS function

DAYS function calculates the number of days between two dates.

Syntax

DAYS(end_date, start_date)

Example


Notes


  • DAYS(end_date, start_date) is equivalent as DATEDIF(start_date, end_date, "D")
  • In DAYS function, the first argument is end_date, the second argument is start_date, which is different from DATEDIF function.


Comments

Popular posts from this blog

Excel - IF function

Excel - Hierarchical chart (Treemap)

Excel - VLOOKUP function