Liquid XML Data Binder (C++, Java, VB6) / Reference / C++ / Reference / CDateTime / C++ SetGMonthDay
In This Topic
    C++ SetGMonthDay
    In This Topic
    void SetGMonthDay(BYTE month, BYTE day);
      Property Description  
        Argument month sets the Month part of the date. Jan = 1, Feb = 2 etc. (Valid Range = 1 to 12)  
        Argument day sets the Day part of the date. (Valid Range = 1 to days in month)  
        Description Populates this CDateTime as type gMonthDay  
        Remarks Throws: LtInvalidValueException thrown on parsing invalid values.
    Throws: LtInvalidStateException thrown if this DateTimes current type is not either zeroYear or gMonthDay.