System.SysUtils.CurrentYear

提供: RAD Studio API Documentation
移動先: 案内検索

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 桁の年です。