GrapeCity ActiveReports for .NET 12.0J
FormatDateTime メソッド

書式を設定される日付の式。
省略可能です。日付・時間の式が使用されていることを示す数値。省略されいる場合、DateFormat.GeneralDateが使用されます。
日付・時間の値を表す文字列式を返します。
構文
'宣言
 
Public Shared Function FormatDateTime( _
   ByVal expression As Date, _
   Optional ByVal namedFormat As DateFormat _
) As String
public static string FormatDateTime( 
   DateTime expression,
   DateFormat namedFormat
)

パラメータ

expression
書式を設定される日付の式。
namedFormat
省略可能です。日付・時間の式が使用されていることを示す数値。省略されいる場合、DateFormat.GeneralDateが使用されます。

戻り値の型

日付・時間の値を表す文字列式を返します。
参照

関連項目

Strings クラス
Strings メンバ

 

 


©2003-2018 GrapeCity inc. All rights reserved.