DateTimeUtil.GetMaxValue(DateTimeKind) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the maximum value for a DateTime with the specified DateTimeKind.
public static DateTime GetMaxValue (DateTimeKind kind);
static member GetMaxValue : DateTimeKind -> DateTime
Public Shared Function GetMaxValue (kind As DateTimeKind) As DateTime
Parameters
- kind
- DateTimeKind
The DateTimeKind.
Returns
The maximum DateTime value of the specified kind.