Convert Standard Date Format To Julian Date And Vice Versa

Write a program to convert standard date format to julian date and vice-versa

A Julian date is a way of displaying a date that combines the current year with the number of days since the beginning of the year. For example, January 1, 2007 is 2007001, and December 31, 2007 is 2007365.

The first two digits of a Julian date represent the year, and the last three digits represent the number of days since the beginning of the year. For example, 21-001 represents January 1, 2021, and 22-165 represents June 14, 2022.

Example

Input  : 2023-06-10
Output : 2023160

Contributors

This program is made possible by the following contributors:

harshraj8843
Riyazul555
pranavsilimkhan
jiyac18
pojith
Rupa-Rd
RithikaReddyK
KorieDrakeChaney
nitin-rjadhav
bulutg
Saipraneeth99
magar51

Heart with ribbonBecome a SponsorHeart with ribbon

Become a sponsor and help us maintain and improve this project. Every contribution counts. Thank you!