Click or drag to resize

DateTimeOperationsMax(DateTime, DateTime) Method

Returns the larger 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 Max(
	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 larger.
See Also