SMART datagrid v.1 > Classes > GridStyles

Back  Forward

DataLudi.GridStyles.datetimeFormat  property

データセルでDATEIMTEフィールドの値を表示する時使われる文字列の変換フォーマット。 

Getter
function datetimeFormat(): String
Setter
function setDatetimeFormat(value: String)
Code -1
    column.styles().setDatetimeFormat('yyyy-MM-dd');
Table-1  Date文字列の変換パターン
パターン文字説明
yyy = 15, yyyy = 2015.
MMM = 01, M = 1.
ddd = 01, d = 1.
am/pmaa = "AM" or "PM".
H (0 ~ 23) HH = 01, H = 1.
h (1 ~ 12) hh = 01, h = 1.
mmm = 01, m = 1.
sss = 01, s = 1.
ミリセカンドSSSS = 123, SS = 12, S = 1.
区切り字日区切り字 "/", ".", "-", 時区切り字":" を使うことができる。
See Also
booleanFormat
numberFormat
スタイル概要
Examples
Datetimeの値
Column Styles