Home > date > FormatDatePlaceholder
日期格式化占位符。
Signature:
export declare enum FormatDatePlaceholder
Member | Value | Description |
---|---|---|
d | "d" |
日:1, 2, ..., 31 |
dd | "dd" |
日:01, 02, ..., 31 |
h | "H" |
时:0, 1, 2, ..., 23 |
hh | "HH" |
时:00, 01, 02, ..., 23 |
i | "m" |
分:0, 1, ..., 59 |
ii | "mm" |
分:00, 01, ..., 59 |
m | "M" |
月:1, 2, ..., 12 |
mm | "MM" |
月:01, 02, ..., 12 |
s | "s" |
秒:0, 1, ..., 59 |
ss | "ss" |
秒:00, 01, ..., 59 |
y | "y" |
年:44, 1, 1900, 2017 |
yyyy | "yyyy" |
年:0044, 0001, 1900, 2017 |