Grasshopper API
GH_ConvertGetTimeKind Method (DateTime) |
Gets the kind of time implied by a System.DateTime value.
Namespace: Grasshopper.Kernel
Assembly: Grasshopper (in Grasshopper.dll)

public static GH_TimeKind GetTimeKind( DateTime time )
Public Shared Function GetTimeKind ( time As DateTime ) As GH_TimeKind
Parameters
- time
- Type: SystemDateTime
Time to evaluate.
Return Value
Type: GH_TimeKindGH_TimeKind.PureTime, GH_TimeKind.PureDate or GH_TimeKind.DateAndTime.
