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.

dCode is free and its tools are a valuable help in games, puzzles and problems to solve every day! You have a problem, an idea for a project, a specific need and dCode can not (yet) help you? You need custom development? Contact-me!

Calculation of the date for the nth day of the year

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.

Answers to Questions

How to calculate the nth day of the year?

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 2017 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

Ask a new question

Source code

dCode retains ownership of the source code of the script Nth Day of the Year online. Except explicit open source licence (indicated Creative Commons / free), any algorithm, applet, snippet, software (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, translator), or any function (convert, solve, decrypt, encrypt, decipher, cipher, decode, code, translate) written in any informatic langauge (PHP, Java, C#, Python, Javascript, etc.) which dCode owns rights can be transferred after sales quote. So if you need to download the online Nth Day of the Year script for offline use, for you, your company or association, see you on contact page !

dCode uses cookies to customize the site content, analyze user behavior and adapt dCode to your use. Some data is stored and collected for advertising purposes and may be shared with our partners. OK