Number of days that have passed in the current year


 A
1=TODAY() = Sunday 19 May 2024
2=NOW() = Sunday 19 May 2024 13:52:44
3=A1-DATE(YEAR(A1), 1, 0) = 140
4=A2-DATE(YEAR(A2), 1, 0) = 141
5="02/01/2004"-DATE(YEAR("01/01/2004"), 1, 0) = 01/01/1900
6=DATE(2004, 1, 2)-DATE(2004, 1, 0) = 2

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.


Related Formulas

Number of days between 2 dates
Number of days in a particular month
Number of days that have passed in the current month


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