Aqueduct.Extensions.Dates.DiffHours C# (CSharp) Method

DiffHours() public static method

Returns a double indicating the number of days between two dates (past is negative)
public static DiffHours ( this dateOne, System.DateTime dateTwo ) : double
dateOne this The date one.
dateTwo System.DateTime The date two.
return double
        public static double DiffHours(this DateTime dateOne, DateTime dateTwo)
        {
            return Diff(dateOne, dateTwo).TotalHours;
        }

Same methods

Dates::DiffHours ( this dateOne, string dateTwo ) : double