void SetTime(BYTE hour, BYTE min, BYTE sec);
void SetTime(BYTE hour, BYTE min, BYTE sec, WORD milli, WORD micro, WORD nano);
  Property Description  
    Argument hour sets the Hours part of the date. (Valid Range = 0 to 23)  
    Argument min sets the Minutes part of the date. (Valid Range = 0 to 59)  
    Argument sec sets the Seconds part of the date. (Valid Range = 0 to 59)  
    Argument milli sets the Milli-Seocnds part of the date. (Valid Range = 0 to 999)  
    Argument micro sets the Micro-Seocnds part of the date. (Valid Range = 0 to 999)  
    Argument nano sets the Nano-Seocnds part of the date. (Valid Range = 0 to 9)  
    Description Populates this CDateTime as type time.  
    Remarks Throws: LtInvalidValueException thrown on parsing invalid values.
Throws: LtInvalidStateException thrown if this DateTimes current type is not either zeroYear or time.