System.DateUtils.DaysInAMonth
Delphi
function DaysInAMonth(const AYear, AMonth: Word): Word;
C++
extern DELPHI_PACKAGE System::Word __fastcall DaysInAMonth(const System::Word AYear, const System::Word AMonth);
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
function | public | System.DateUtils.pas System.DateUtils.hpp |
System.DateUtils | System.DateUtils |
説明
指定された年の指定された月の日数を返します。
DaysInAMonth 関数を呼び出すと,指定された年の指定された月の日数を取得できます。
AYear は,1 ~ 9999 の範囲の年です。
AMonth は,1 ~ 12 の範囲の月です。