Click or drag to resize

DateTimeOperationsMax Method (DateTime, DateTime)

Returns the larger of two dates.

Namespace:  TomsToolbox.Essentials
Assembly:  TomsToolbox.Essentials (in TomsToolbox.Essentials.dll)
Syntax
public static DateTime Max(
	DateTime value1,
	DateTime value2
)

Parameters

value1
Type: SystemDateTime
The first of two dates.
value2
Type: SystemDateTime
The second of two dates.

Return Value

Type: DateTime
Parameter value1 or value2, whichever is larger.
See Also