Liquid XML Data Binder 2021
Liquid XML Data Binder (C++, Java, VB6) / Reference / Visual Basic 6 / Reference / DateTime / VB6 SetTime - DateTime
In This Topic
    VB6 SetTime - DateTime
    In This Topic

    Public Sub SetTime(ByVal iHour As Byte,
                                       ByVal iMin As Byte,
                                       ByVal iSec As Byte)

      Property Description  
        Argument iHour sets the Hours part of the date. (Valid Range = 0 to 23)  
        Argument iMin sets the Minutes part of the date. (Valid Range = 0 to 59)  
        Argument iSec sets the Seconds part of the date. (Valid Range = 0 to 59)  
        Description Populates this DateTime as type time.  
        Remarks Throws: on parsing invalid values.
    Throws: if this DateTime's current type is not either zeroYear or time.