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
Namespace: Aliquo.CoreAssembly: Aliquo.Core (in Aliquo.Core.dll) Version: 5.0.9179.22651
public static TimeSpan CalculateTimeSchedule(
DateTime dateTimeStart,
DateTime dateTimeEnd
)
Public Shared Function CalculateTimeSchedule (
dateTimeStart As DateTime,
dateTimeEnd As DateTime
) As TimeSpan
- dateTimeStart DateTime
- Start date and time.
- dateTimeEnd DateTime
- End date and time.
TimeSpanTimeSpan with the schedule time interval between a start date and an end date.