System.SysUtils.CurrentYear
Delphi
function CurrentYear: Word;
C++
extern DELPHI_PACKAGE System::Word __fastcall CurrentYear(void);
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
function | public | System.SysUtils.pas System.SysUtils.hpp |
System.SysUtils | System.SysUtils |
説明
現在の年を返します。
CurrentYear 関数は,グレゴリオ暦で現在の年を返します。返される値は,4 桁の年です。