world wide web development problems asp net php html xhtml css javascript jquery w3dproblems
public static DateTime GetFirstDayOfMonth(DateTime dt) { return new DateTime(dt.Year, dt.Month, 1); }
public static DateTime GetLastDayOfMonth(DateTime dt) { return new DateTime(dt.Year, dt.Month, 1).AddMonths(1).AddDays(-1); }
No comments:
Post a Comment