Compare two DateTime dates

Namespace:  C1.Web.UI.Controls.C1Schedule
Assembly:  C1ScheduleClient (in C1ScheduleClient.dll)

Syntax

JavaScript
C1.Web.UI.Controls.C1Schedule.C1TimeHelper.compareDateTime = function(firstDate, secondDate);

Parameters

firstDate
Type: System..::..DateTime
secondDate
Type: System..::..DateTime

Return Value

0 if the dates are equal, -1 if the first date is smaller than the second date and 1 if the first date is bigger than the second date.

See Also