TimeCalculateTimeSchedule(DateTime, DateTime) Method

Converts a schedule time interval between a start date and an end date, if there are intervals greater than 24 hours, they are considered as times of a schedule that repeats for several days

Definition

Namespace: Aliquo.Core
Assembly: Aliquo.Core (in Aliquo.Core.dll) Version: 5.0.9179.22651
C#
public static TimeSpan CalculateTimeSchedule(
	DateTime dateTimeStart,
	DateTime dateTimeEnd
)

Parameters

dateTimeStart  DateTime
Start date and time.
dateTimeEnd  DateTime
End date and time.

Return Value

TimeSpan
TimeSpan with the schedule time interval between a start date and an end date.

See Also