adTempus API
ArcanaDevelopment.adTempus.Shared Namespace / DateTimeHandling Class / TimeValue Method / TimeValue(Int32,Int32) Method


In This Topic
    TimeValue(Int32,Int32) Method
    In This Topic
    Returns a DateTime representing the time portion only for the specified hour and minute
    Syntax
    'Declaration
     
    
    <PureAttribute()>
    Public Overloads Shared Function TimeValue( _
       ByVal hour As Integer, _
       ByVal minute As Integer _
    ) As Date
    [Pure()]
    public static DateTime TimeValue( 
       int hour,
       int minute
    )
    [Pure()]
    public:
    static DateTime TimeValue( 
       int hour,
       int minute
    ) 

    Parameters

    hour
    minute
    Remarks
    The Date portion of the value is set to January 1, 1900. Seconds and milliseconds are set to 0.
    See Also