Click here to Skip to main content
15,895,142 members
Articles / .NET

Get Quarter Starting and Ending Dates for a given Date

Rate me:
Please Sign up or sign in to vote.
5.00/5 (1 vote)
19 Mar 2011CPOL 11.1K   2  
To calculate the quarter, you can use the Time Period Library for .NET:// ----------------------------------------------------------------------public static void ShowQuarterInfo( YearMonth yearBaseMonth = YearMonth.January ){ ShowQuarterInfo( DateTime.Now, yearBaseMonth );} //...

Alternatives

Members may post updates or alternatives to this current article in order to show different approaches or add new features.

Please Sign up or sign in to vote.
8 Aug 2010Ravi LVS 1 alternative  
Get Quarter Starting and Ending Dates for a given Date

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior)
Switzerland Switzerland
👨 Senior .NET Software Engineer

🚀 My Open Source Projects
- Time Period Library 👉 GitHub
- Payroll Engine 👉 GitHub

Feedback and contributions are welcome.



Comments and Discussions