Description | The |
Syntax | DAYS_IN_YEAR( |
Output | integer |
Variables
date
: The date or datetime for which you want to calculate the number of days in the year.
Example 1
DAYS_IN_YEAR(`Event Date`)
Event | Event Date | DAYS_IN_YEAR |
Event A | 2023-09-10 | 365 |
Event B | 2024-02-25 | 366 |
Event C | 2023-12-01 | 365 |
Event D | 2022-04-15 | 365 |
Example 2
DAYS_IN_YEAR(NOW())
Event | Event Date | DAYS_IN_YEAR |
Event A | 2023-09-10 | 365 |
Event B | 2024-02-25 | 365 |
Event C | 2023-12-01 | 365 |
Event D | 2022-04-15 | 365 |