Geeks With Blogs
Rohit Gupta Engaging talk on Microsoft Technologies ....My Resume
February 2010 Entries
Get Quarter End Date depending on the Fiscal Year end date
Companies usually have differing Fiscal Year End dates some have it as 3/31/2009 some have have it as 6/30/2009 and some 12/31/2009 Thus if you need to get the Quarter end date based on differing Fiscal Year end dates… you can use this function I created to get Quarter end dates: 1: public static class ExtensionMethods 2: { 3: public static DateTime MonthEnd(this DateTime date) 4: { 5: return new DateTime(date.Year, date.Month, 1).AddMonths(1).AddDays(-1); 6: } 7: } 8: 9: public class CalcUtils 10: ......

Posted On Tuesday, February 9, 2010 1:15 PM

Copyright © Rohit Gupta | Powered by: GeeksWithBlogs.net