TimeCalculateTime(DateTime, NullableDateTime, DateTime, NullableDateTime) Method

Converts a time interval between two dates and times.

Definition

Namespace: Aliquo.Core
Assembly: Aliquo.Core (in Aliquo.Core.dll) Version: 5.0.9179.22651
C#
public static TimeSpan CalculateTime(
	DateTime dateStart,
	DateTime? timeStart,
	DateTime dateEnd,
	DateTime? timeEnd
)

Parameters

dateStart  DateTime
Start date.
timeStart  NullableDateTime
Start time.
dateEnd  DateTime
End date.
timeEnd  NullableDateTime
End time.

Return Value

TimeSpan
TimeSpan with the interval between two dates and times.

See Also