Date     Utility Edit

Declaration:

 FUNCTION Date ( dateFormat :INTEGER;
          infoFormat :INTEGER
         ) :STRING ;

Description:

Function Date returns a formatted date and time string.

 Table - Values for dateFormat parameter:

Date FormatConstant
Full Date0
Abbreviated Date1
Short Date2

 Table - Values for infoFormat parameter:

Date/TimeConstant
Date only0
Date and Time1
Time only2

説明

現在の日付と時間を文字列で返します。

Parameters:

       dateFormat 	Specify how verbose or compact the resulting string is. 	日付の種類
       infoFormat 	Specify if result should contain date, time or both. 	情報の種類

Example:

       { All examples are for the date Friday,  }
       { Nov. 18, 1988 and the time 10:42:24 AM }
       Date(0,1);
       {returns Friday, November 18, 1988 10:42:24 AM}
       Date(0,0);
       {returns Friday, November 18, 1988}
       Date(2,2);
       {returns 10:42:24 AM}
       Date(2,1);
       {returns 11/18/88 10:42:24 AM}

リロード   新規 下位ページ作成 編集 凍結 差分 添付 コピー 名前変更   ホーム 一覧 検索 最終更新 バックアップ リンク元   ヘルプ   最終更新のRSS