Function that returns the Julian date calendar (perpetual)

I need a javascript function that returns the Julian date calendar (perpetual) as per the current day and show in the screen (HTML). Thank you. Example: 01/01/2022 = 001 | 01/02/2022 = 002 | 02/01/2022 = 032 | 12/15/2022 = 349

Amazing that there isn’t a native js function for this as it’s asked for all the time…

But you can find one here: Javascript into mathematical functions - #3 by felgall

1 Like