'Declaration
<PureAttribute()> Public Shared Function Combine( _ ByVal datePortion As Date, _ ByVal timePortion As Date _ ) As Date
[Pure()] public static DateTime Combine( DateTime datePortion, DateTime timePortion )
[Pure()] public: static DateTime Combine( DateTime datePortion, DateTime timePortion )
Parameters
- datePortion
- timePortion
Return Value
A new DateTime value with the date set to the date from the datePortion, the hours and minutes set from the time portion, and seconds and milliseconds set to 0.