 | DateTimeOperationsMax(DateTime, DateTime) Method |
Returns the larger of two dates.
Namespace: TomsToolbox.EssentialsAssembly: TomsToolbox.Essentials (in TomsToolbox.Essentials.dll) Version: 2.21.0+44d18b541fc9419ec3c549350a832394661b2a4d
XMLNS for XAML: Not mapped to an xmlns.
Syntaxpublic static DateTime Max(
DateTime value1,
DateTime value2
)
Public Shared Function Max (
value1 As DateTime,
value2 As DateTime
) As DateTime
Parameters
- value1 DateTime
- The first of two dates.
- value2 DateTime
- The second of two dates.
Return Value
DateTimeParameter value1 or value2, whichever is larger.
See Also