Click or drag to resize

DateTimeOperationsMin(DateTime, DateTime) Method

Returns the smaller of two dates.

Namespace: TomsToolbox.Essentials
Assembly: TomsToolbox.Essentials (in TomsToolbox.Essentials.dll) Version: 2.21.0+44d18b541fc9419ec3c549350a832394661b2a4d
XMLNS for XAML: Not mapped to an xmlns.
Syntax
public static DateTime Min(
	DateTime value1,
	DateTime value2
)

Parameters

value1  DateTime
The first of two dates.
value2  DateTime
The second of two dates.

Return Value

DateTime
Parameter value1 or value2, whichever is smaller.
See Also