Date.DaysInMonth
Syntax
Date.DaysInMonth(dateTime as any) as nullable number
About
Returns the number of days in the month in the date
, datetime
, or datetimezone
value dateTime
.
dateTime
: Adate
,datetime
, ordatetimezone
value for which the number of days in the month is returned.
Example 1
Number of days in the month December as represented by #date(2011, 12, 01)
.
Usage
Date.DaysInMonth(#date(2011, 12, 01))
Output
31
الملاحظات
https://aka.ms/ContentUserFeedback.
قريبًا: خلال عام 2024، سنتخلص تدريجيًا من GitHub Issues بوصفها آلية إرسال ملاحظات للمحتوى ونستبدلها بنظام ملاحظات جديد. لمزيد من المعلومات، راجعإرسال الملاحظات وعرضها المتعلقة بـ