CSharp examples for System:DateTime Day
Get Day Start
using System.Threading.Tasks; using System.Text; using System.Linq; using System.Collections.Generic; using System;/*from ww w . j a va2 s . c om*/ public class Main{ public static DateTime GetDayStart(DateTime time) { return new DateTime(time.Year, time.Month, time.Day); } }