طريقة System::DateTime::DaysInMonth

DateTime::DaysInMonth method

يعيد عدد الأيام في الشهر المحدد من السنة المحددة.

static int System::DateTime::DaysInMonth(int year, int month)
ParameterTypeالوصف
السنةintالسنة
شهرintالرقم الترتيبي للشهر

ReturnValue

عدد الأيام هو الشهر المحدد من السنة المحددة

انظر أيضًا