Grasshopper API
GH_ConvertCombineDateAndTime Method |
Combine a pure date and a pure time.
Namespace: Grasshopper.Kernel
Assembly: Grasshopper (in Grasshopper.dll)

public static DateTime CombineDateAndTime( DateTime date, DateTime time )
Public Shared Function CombineDateAndTime ( date As DateTime, time As DateTime ) As DateTime
Parameters
- date
- Type: SystemDateTime
Must be a pure date instance. - time
- Type: SystemDateTime
Must be a pute time instance.
Return Value
Type: DateTimeA combined date and time.
