Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

ウェブレットの日付の表示や入力に使用する形式またはマスクを指定します。日付をどのようにフォーマットするかをウェブレットに伝える書式指定子を含んだ文字列です。

有効な書式指定子は以下の通りです。

書式指定子

説明

YYYY

年を4桁の数字で表示します。

YY

年を2桁の数字で表示します。

MMMM

月の名前をstd

Specifies the format or mask used to display and enter the date for the weblet. This is a string contains a number of format specifiers that tell the weblet how to format the date.

Valid format specifiers are:

Format Specifier

Description

YYYY

Represents the year as a four-digit number.

YY

Represents the year as a two-digit number.

MMMM

Represents the name of the month as defined in std

_script_messages.

js

jsに定義された通りに表示します。

MM

Represents the month as a number from 01 through 12. A single-digit month is formatted with a leading zero.

月を01から12までの数字で表示します。一桁の月は0を前に付けた形式になります。

M

月を1から12までの数字で表示します。

DDD

曜日の名前をstd

M

Represents the month as a number from 1 through 12.

DDD

Represents the name of the day of the week as defined in std

_script_messages.

js

jsに定義された通りに表示します。

DD

Represents a day of the month from 1 - 31 A single digit day is formatted with a leading zero.

D

Represents a day of the month from 1 - 31.

Note
Note: This specifies the presentation format the weblet uses. The input and output date received from and returned to the webroutine are always in ISO format. If you choose a different presentation format by setting this property, the weblet will convert to and from the internal representation as required.

Default value

日付を1から31で表示します。一桁の日は初めに0をつけた形式になります。

D

日付を1から31で表示します。

Note

注意:ここではウェブレットが使用するプレゼンテーション形式を指定します。Webroutineから受信・送信する、入力および出力の日付は常にISO形式です。このプロパティを使って異なるプレゼンテーション形式を選択する場合、ウェブレットは必要に応じて内部プレゼンテーションの変換を行います。

デフォルト値

'YYYY-MM-DD'

Valid values

有効値

有効なフォーマット指定を含む文字列Any string containing valid format specifiers.