Skip to content

Instantly share code, notes, and snippets.

Avatar

Michael A. Volz (Flynn) michaelvolz

View GitHub Profile
View DateTimeExtensions.cs
public static class DateTimeExtensions
{
private const int Today = 0;
private const int Yesterday = 1;
private const int Week = 7;
private const int Month = 31;
private const int OneMinute = 60;
private const int OneHour = 3600;
private const int OneDay = 86400;