Tool to compute the day number in a year. Calculation of the nth day of the year or know the number of days since the first January in the Gregorian Calendar (N-th day).
Nth Day of the Year - dCode
Tag(s) : Date and Time
dCode is free and its tools are a valuable help in games, maths, geocaching, puzzles and problems to solve every day!
A suggestion ? a feedback ? a bug ? an idea ? Write to dCode!
Tool to compute the day number in a year. Calculation of the nth day of the year or know the number of days since the first January in the Gregorian Calendar (N-th day).
The day of year calculator uses the number of days between the date of 1st january and the desired day. It takes into account the number of days in each month and can be set for a leap year.
Example: The 1st January 2021 is the day 1
Example: The 31th december is the 365th (for non-leap year)
50th day | 19/02 |
100th day | 10/04 |
123th day | 03/05 |
150th day | 30/05 |
183th day (365/2) | 02/07 |
200th day | 19/07 |
250th day | 07/09 |
256th day | 13/09 |
300th day | 27/10 |
350th day | 16/12 |
The calculation to be made is the date difference between the first day of the year and the current day.
A year has 365 or 366 days, the middle day of a year is the 183rd or July 2nd.
A calendar number is the (rare) name given to the day number in a year.
Type the formula =DATE(YEAR(TODAY()),1,A1) by replacing N with the day number to obtain the corresponding date in the current year. Replace YEAR(TODAY()) with any year value if needed.
dCode retains ownership of the online 'Nth Day of the Year' tool source code. Except explicit open source licence (indicated CC / Creative Commons / free), any algorithm, applet or snippet (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, translator), or any function (convert, solve, decrypt / encrypt, decipher / cipher, decode / encode, translate) written in any informatic language (PHP, Java, C#, Python, Javascript, Matlab, etc.) no data, script or API access will be for free, same for Nth Day of the Year download for offline use on PC, tablet, iPhone or Android !
Please, check our community Discord for help requests!