【解決方法】javascriptで2年間のすべての会計四半期を取得するにはどうすればよいですか?

[ad_1]

I want fiscal quarters between the years 2023 to 3023. the financial year quarter starts in April. There is a total of four quarters Q1, Q2, Q3, and Q4. I want a quarter name like Q1, quarter start date, quarter end date, and its year.

私が試したこと:

The output i want is like this: Q1 start date: 1-April-2023 end date: 30-june-2023 Year-2023 Q2 start date: 1-july-2023 end date: 30-september-2023 Year-2023 Q3 start date: 1-october-2023 end date: 31-december-2023 Year-2023 Q4 start date: 1-january-2024 end date: 30-march-2024 Year-2024 Q1 start date: 1-April-2024 end date: 30-june-2024 Year-2024 Q2 start date: 1-july-2024 end date: 30-september-2024 Year-2024 Q3 start date: 1-october-2024 end date: 31-december-2024 Year-2024 Q4 start date: 1-january-2025 end date: 30-march-2025 Year-2025 so on.

解決策 1

あなたは既にこの質問を ノードjsで会計年度に3か月の四半期を設定する方法[^]. 再投稿しないでください。

[ad_2]

コメント

タイトルとURLをコピーしました