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

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

Closed
harshraj8843 opened this issue Feb 19, 2024 · 1 comment · Fixed by #5584
Closed
Assignees
Labels
closed closed issues/PRs Dart dart related good first issue Good for newcomers program

Comments

@harshraj8843
Copy link
Contributor

Description

Write a Dart 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

How to contribute
  • Comment !assign to assign this issue to yourself
  • Fork this repository
  • Create a new branch
  • Save the solution in program/program/convert-standard-date-format-to-julian-date-and-vice-versa/convert_standard_date_format_to_julian_date_and_vice-versa.dart
  • Commit the changes
  • Create a pull request
@jiyac18
Copy link
Contributor

jiyac18 commented Mar 25, 2024

!assign

@harshraj8843 harshraj8843 mentioned this issue Mar 28, 2024
@codinasion-bot codinasion-bot bot added the closed closed issues/PRs label Mar 28, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
closed closed issues/PRs Dart dart related good first issue Good for newcomers program
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants