Skip to content
This repository has been archived by the owner on Jul 10, 2024. It is now read-only.

Convert standard date format to Julian date and vice-versa #5460

Open
harshraj8843 opened this issue Feb 19, 2024 · 1 comment
Open

Convert standard date format to Julian date and vice-versa #5460

harshraj8843 opened this issue Feb 19, 2024 · 1 comment
Labels
auto-track Good First Issue Tracker program

Comments

@harshraj8843
Copy link
Contributor

harshraj8843 commented Feb 19, 2024

Description

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

Contributed by - @magar51

### Tracking Issues
- [ ] #5462
- [ ] #5463
- [ ] #5464
- [ ] #5465
- [ ] #5466
- [ ] #5467
- [ ] #5468
- [ ] #5469
- [ ] #5470
- [ ] #5471
- [ ] #5472
- [ ] #5473
- [ ] #5474
- [ ] #5475
- [ ] #5476
- [ ] #5477
- [ ] #5478
- [ ] #5479
- [ ] #5480
- [ ] #5481
@harshraj8843 harshraj8843 added the auto-track Good First Issue Tracker label Feb 19, 2024
@pramod-karkhani
Copy link
Contributor

!assign

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
auto-track Good First Issue Tracker program
Projects
None yet
Development

No branches or pull requests

2 participants