| DateTimeOperationsMin Method (DateTime, DateTime) |
Returns the smaller of two dates.
Namespace:
TomsToolbox.Essentials
Assembly:
TomsToolbox.Essentials (in TomsToolbox.Essentials.dll)
Syntax public static DateTime Min(
DateTime value1,
DateTime value2
)
Public Shared Function Min (
value1 As DateTime,
value2 As DateTime
) As DateTime
Parameters
- value1
- Type: SystemDateTime
The first of two dates. - value2
- Type: SystemDateTime
The second of two dates.
Return Value
Type:
DateTimeParameter value1 or value2, whichever is smaller.
See Also