Skip to content

Commit

Permalink
1.03.1
Browse files Browse the repository at this point in the history
  • Loading branch information
piidus committed Mar 24, 2024
1 parent cca0b4b commit 127b469
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,16 @@ ________________________________________________________________________________
# Example usage:
```bash

- financial_year = Finyear("2023-24")
financial_year = Finyear("2023-24")

- print(financial_year.month_start_date(1)) # Output: 01-04-2023
print(financial_year.month_start_date(1)) # Output: 01-04-2023

- print(financial_year.month_end_date(1)) # Output: 30-04-
print(financial_year.month_end_date(1)) # Output: 30-04-

- print(financial_year.previous_month_dates(month=1)) # return two date like :: (datetime.date(2023, 12, 1), datetime.date(2023, 12, 31))
print(financial_year.previous_month_dates(month=1)) # return two date like :: (datetime.date(2023, 12, 1), datetime.date(2023, 12, 31))

- print(financial_year.month_list()) # Output: ['04-2023', '05-2023', '06-2023', ..., '03-2024']
print(financial_year.month_list()) # Output: ['04-2023', '05-2023', '06-2023', ..., '03-2024']

- print(date_to_finyear(date='2022-10-2')) # output : 2022-23
print(date_to_finyear(date='2022-10-2')) # output : 2022-23

```

0 comments on commit 127b469

Please sign in to comment.