Click here to Skip to main content
15,881,742 members
Articles / .NET

Get Quarter Starting and Ending Dates for a given Date

Rate me:
Please Sign up or sign in to vote.
3.57/5 (4 votes)
8 Aug 2010CPOL 55.1K   4  
Get Quarter Starting and Ending Dates for a given Date

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.
19 Mar 2011Jani Giannoudis
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 );} //...

License

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


Written By
India India
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions