バージョン 24.2 (最新)

Month(DateTime,String) メソッド

日付から月の名前を構築します。
シンタックス
public static string Month( 
   DateTime dateTime,
   string monthFormat
)

パラメータ

dateTime
元の System.DateTime インスタンス。
monthFormat
書式文字列。{0} を年に使用し、{1} を半期の位置, {2} を四半期の位置、{3} を月の位置に使用します。

戻り値の型

書式化された月の名前。
参照