表示: Delphi
C++
表示設定
System.DateUtils.YearOf
提供:XE2 API Documentation
Delphi
function YearOf(const AValue: TDateTime): Word;
C++
extern PACKAGE System::Word __fastcall YearOf(const System::TDateTime AValue);
目次 |
プロパティ
| 種類 | 可視性 | ソース | ユニット | 親 |
|---|---|---|---|---|
| function | public | System.DateUtils.pas System.DateUtils.hpp |
System.DateUtils | System.DateUtils |
説明
TDateTime 値で表された年を返します。
YearOf 関数を呼び出すと,指定された TDateTime 値で表された年を取得できます。YearOf は,1 ~ 9999 の範囲の値を返します。