public static function firstDayOfTheMonth($intMonth, $intYear)
    {
        $temp = date('Y-m-d', mktime(0, 0, 0, $intMonth, 1, $intYear));
        return new QDateTime($temp);
    }
public static function firstDayOfTheMonth($intMonth, $intYear)
    {
        $temp = date('Y-m-d', mktime(0, 0, 0, $intMonth, 1, $intYear));
        return new QDateTime($temp);
    }
public static function firstDayOfTheMonth ( $ intMonth , $ intYear ) { $ temp = date ( 'Y-m-d' , mktime ( 0 , 0 , 0 , $ intMonth , 1 , $ intYear ) ) ; return new QDateTime ( $ temp ) ; }
Returns a new QDateTime object set to the first day of the specified month.

@param int $intMonth
@param int $intYear
@return QDateTime the first day of the month
Returns a new QDateTime object set to the first day of the specified month .