Click or drag to resize

GH_ConvertToDate_Primary Method

Performs a direct cast from DateTime or GH_DateTime.

Namespace:  Grasshopper.Kernel
Assembly:  Grasshopper (in Grasshopper.dll)
Syntax
public static bool ToDate_Primary(
	Object data,
	ref DateTime destination
)

Parameters

data
Type: SystemObject
Data to convert.
destination
Type: SystemDateTime
Target for value assignment.

Return Value

Type: Boolean
True on success, false on failure.
See Also