DateTime Extension

Provides extensions on System.DateTime.

IsFuture

IsPast

Determines whether the time represented by the current System.DateTime object is a future/past time.

 

TicksPassed

SecondsPassed

MinutesPassed

HoursPassed

DaysPassed

TimeSpanPassed

Gets the ticks/seconds/minutes/hours/days from a past time represented by a System.DateTime object till now.

 

TicksToGo

SecondsToGo

MinutesToGo

HoursToGo

DaysToGo

TimeSpanToGo

Gets the ticks/seconds/minutes/hours/days to go from now to a future time represented by a System.DateTime.

 

Divide

Evenly divides a timespan into several time points between the beginning time point and the end time point.

NextSharp

Gets the next sharp clock from time represented by the current System.DateTime object.

 

Sharp

Gets the sharp clock from time represented by the current System.DateTime object.

 

Last edited Sep 15, 2012 at 11:12 AM by rivermsfly, version 3

Comments

No comments yet.