Grasshopper API
GH_ConvertToDate_Primary Method |
Performs a direct cast from DateTime or GH_DateTime.
Namespace: Grasshopper.Kernel
Assembly: Grasshopper (in Grasshopper.dll)

public static bool ToDate_Primary( Object data, ref DateTime destination )
Public Shared Function ToDate_Primary ( data As Object, ByRef destination As DateTime ) As Boolean
Parameters
- data
- Type: SystemObject
Data to convert. - destination
- Type: SystemDateTime
Target for value assignment.
Return Value
Type: BooleanTrue on success, false on failure.
