adTempus API
ArcanaDevelopment.adTempus.Shared Namespace / DateTimeHandling Class / Combine Method

In This Topic
    Combine Method
    In This Topic
    Combines two DateTime values, using the date from one value and the time from the other.
    Syntax
    'Declaration
     
    
    Public Shared Function Combine( _
       ByVal datePortion As Date, _
       ByVal timePortion As Date _
    ) As Date
    public static DateTime Combine( 
       DateTime datePortion,
       DateTime timePortion
    )

    Parameters

    datePortion
    timePortion
    Remarks
    Returns 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.
    See Also