System.DateUtils.MonthOf

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

Delphi

function MonthOf(const AValue: TDateTime): Word;

C++

extern DELPHI_PACKAGE System::Word __fastcall MonthOf(const System::TDateTime AValue);

プロパティ

種類 可視性 ソース ユニット
function public
System.DateUtils.pas
System.DateUtils.hpp
System.DateUtils System.DateUtils

説明

TDateTime 値で表された月を返します。

MonthOf 関数を呼び出すと,指定された TDateTime 値で表された月を取得できます。MonthOf は,1 ~ 12 の範囲の値を返します。

メモ:  MonthOf は,MonthOfTheYear 関数と同じ値を返します。

関連項目


コード サンプル