CSharp examples for System:DateTime Day
Get Day End
using System.Threading.Tasks; using System.Text; using System.Linq; using System.Collections.Generic; using System;//from w w w .ja v a2 s . c om public class Main{ public static DateTime GetDayEnd(DateTime time) { return new DateTime(time.Year, time.Month, time.Day, 23, 59, 59); } }