月 Month
0 1 ... 11 12
formatDate(now(), M)
4
1st 2nd ... 11th 12th
formatDate(now(), Mo)
4th
01 02 ... 11 12
formatDate(now(), MM)
04
Jan Feb ... Nov Dec
formatDate(now(), MMM)
Apr
季 Quarter
1 2 3 4
formatDate(now(), Q)
2
1st 2nd 3rd 4th
formatDate(now(), Qo)
2nd
星期 Day of Week
0 1 ... 5 6
formatDate(now(), d)
13
0th 1st ... 5th 6th
formatDate(now(), do)
13th
Su Mo ... Fr Sa
formatDate(now(), dd)
13
Sun Mon ... Fri Sat
formatDate(now(), ddd)
013
Sunday Monday ... Friday Saturday
formatDate(now(), dddd)
Monday
日(以月為單位) Day of Month
1 2 ... 30 31
formatDate(now(), D)
1st 2nd ... 30th 31st
formatDate(now(), Do)
103rd
01 02 ... 30 31
formatDate(now(), DD)
日(以年為單位) Day of Year
1 2 ... 364 365
formatDate(now(), DDD)
103
1st 2nd ... 364th 365th
formatDate(now(), DDDo)
001 002 ... 364 365
formatDate(now(), DDDD)
0103
星期(語系) Day of Week (Locale)
0 1 ... 5 6
formatDate(now(), e)
2
星期(ISO) Day of Week (ISO)
1 2 ... 6 7
formatDate(now(), E)
Mon
週數 Week of Year
1 2 ... 52 53
formatDate(now(), w)
16
1st 2nd ... 52nd 53rd
formatDate(now(), wo)
16th
01 02 ... 52 53
formatDate(now(), ww)
16
週數(ISO) Week of Year (ISO)
1 2 ... 52 53
formatDate(now(), W)
1st 2nd ... 52nd 53rd
formatDate(now(), Wo)
01 02 ... 52 53
formatDate(now(), WW)
年 Year
70 71 ... 29 30
formatDate(now(), YY)
1970 1971 ... 2029 2030
formatDate(now(), YYYY)
-001970 -001971 ... +001907 +001971
Note: Expanded Years (Covering the full time value range of approximately 273,790 years forward or backward from 01 January, 1970)
formatDate(now(), YYYYYY)
002026
1970 1971 ... 9999 +10000 +10001
Note: This complies with the ISO 8601 standard for dates past the year 9999
formatDate(now(), Y)
2026
週年 Week Year
70 71 ... 29 30
formatDate(now(), gg)
1970 1971 ... 2029 2030
formatDate(now(), gggg)
週年(ISO) Week Year (ISO)
70 71 ... 29 30
formatDate(now(), GG)
AD
1970 1971 ... 2029 2030
formatDate(now(), GGGG)
Anno Domini
上午/下午 AM/PM
AM PM
formatDate(now(), A)
am pm
formatDate(now(), a)
PM
小時 Hour
0 1 ... 22 23
formatDate(now(), H)
12
00 01 ... 22 23
formatDate(now(), HH)
12
1 2 ... 11 12
formatDate(now(), h)
12
01 02 ... 11 12
formatDate(now(), hh)
12
1 2 ... 23 24
formatDate(now(), k)
12
01 02 ... 23 24
formatDate(now(), kk)
12
分鐘 Minute
0 1 ... 58 59
formatDate(now(), m)
8
00 01 ... 58 59
formatDate(now(), mm)
08
秒 Second
Notion 在時間單位只顯示到分。
formatDate(now(), s)
58
Notion 在時間單位只顯示到分。
formatDate(now(), ss)
58
小數秒 Fractional Second
Notion 在時間單位只顯示到分。
formatDate(now(), S)
4
Notion 在時間單位只顯示到分。
formatDate(now(), SS)
47
Notion 在時間單位只顯示到分。
formatDate(now(), SSS)
479
Notion 在時間單位只顯示到分。
formatDate(now(), SSSS ... SSSSSSSSS)
4790 ... 479000000
Unix 時間戳記 Unix Timestamp
1360013296
formatDate(now(), X)
Z
Unix 毫秒時間戳記
Unix Millisecond Timestamp
1360013296123
formatDate(now(), x)
+00
時區 Time Zone
EST CST ... MST PST
Note: as of 1.6.0, the z/zz format tokens have been deprecated from plain moment objects. Read more about it here. However, they *do* work if you are using a specific time zone with the moment-timezone addon.
formatDate(now(), z or zz)
-07:00 -06:00 ... +06:00 +07:00
formatDate(now(), Z)
-0700 -0600 ... +0600 +0700
formatDate(now(), ZZ)
時間 Localised Time
formatDate(now(), LT)
41776082138493
日期(月份為數字)
Localised Month numeral, day of month, year
formatDate(now(), L)
4
日期(月份為名稱)
Localised Month name, day of month, year
formatDate(now(), LL)
04
日期(月份為名稱) + 時間
Localised Month name, day of month, year, time
formatDate(now(), LLL)
Apr
日期(月份為名稱) + 時間 + 星期
Localised Month name, day of month, day of week, year, time
formatDate(now(), LLLL)
April