Top > Date

**Date     Utility [#x000d53e]
Declaration:

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

Description:

 Function Date returns a formatted date and time string.
 Table - Values for dateFormat parameter:
 
|BGCOLOR(white):100|BGCOLOR(white):100|c
|Date Format |	Constant|
|Full Date 	|0|
|Abbreviated Date 	|1|
|Short Date 	|2|

 Table - Values for infoFormat parameter:

|BGCOLOR(white):100|BGCOLOR(white):100|c
|Date/Time 	|Constant|
|Date only 	|0|
| Date and Time 	|1|
| Time only 	|2|


説明

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

Parameters:
|BGCOLOR(white):|BGCOLOR(white):|BGCOLOR(white):|c
|BGCOLOR(white):100|BGCOLOR(white):100|BGCOLOR(white):100|c
|dateFormat|INTEGER|日付の種類|
|infoFormat|INTEGER|情報の種類|
|返り値|STRING|日付の文字列|

日付の種類:0=日付のみ/1=日付と時間/2=時間のみ	
情報の種類:0=完全形式/1=完全形式の省略形/2=短縮形式
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