Geeks With Blogs

News My Blog has been MOVED to

Michael Freidgeim's OLD Blog My Blog has been MOVED to
 There are couple methods recently added to My DateTimeHelper class
    public static DateTime StartOfMonth(this DateTime dateValue)
            return new DateTime(dateValue.Year,dateValue.Month,1,0,0,0);
        public static DateTime StartOfNextMonth(this DateTime dateValue)
            return StartOfMonth(dateValue).AddMonths(1);

Posted on Friday, June 11, 2010 6:26 PM ASP.NET | Back to top

Comments on this post: Helper methods StartOfMonth and StartOfNextMonth

No comments posted yet.
Your comment:
 (will show your gravatar)

Copyright © Michael Freidgeim | Powered by: