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