| DateTimeOperationsMin(DateTime, DateTime) Method |
Returns the smaller 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.
Syntax public static DateTime Min(
DateTime value1,
DateTime value2
)
Public Shared Function Min (
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 smaller.
See Also