Module:Time | Module:Time/sandbox
19:05, November 2, 2018 MDT [refresh]
Template:Time/sandbox
change to Hawaii–Aleutian abbreviation
| Hawaii HST during standard time
|
{{time|HST|_TEST_TIME_=2020-12-05T18:05:00}}
|
| 16:05, December 5, 2020 HST [refresh]
|
| Template:Time/sandbox
|
| Expanded code
|
16:05, December 5, 2020 [[Hawaii–Aleutian Time Zone|HST]] <span class="plainlinks" style="font-size:85%;">[[https://moasspedia.org/w/index.php?title=Template:Time/testcases&action=purge refresh]]</span>
|
[[:Template:Time/sandbox]]
|
|
| Hawaii HST during daylight
|
{{time|HST|_TEST_TIME_=2020-06-05T18:05:00}}}
|
| 16:05, June 5, 2020 HDT [refresh]
|
| Template:Time/sandbox
|
| Expanded code
|
16:05, June 5, 2020 [[Hawaii–Aleutian Time Zone|HDT]] <span class="plainlinks" style="font-size:85%;">[[https://moasspedia.org/w/index.php?title=Template:Time/testcases&action=purge refresh]]</span>
|
[[:Template:Time/sandbox]]
|
|
| Hawaii HDT during standard time
|
{{time|HDT|_TEST_TIME_=2020-12-05T18:05:00}}
|
| 16:05, December 5, 2020 HST [refresh]
|
| Template:Time/sandbox
|
| Expanded code
|
16:05, December 5, 2020 [[Hawaii–Aleutian Time Zone|HST]] <span class="plainlinks" style="font-size:85%;">[[https://moasspedia.org/w/index.php?title=Template:Time/testcases&action=purge refresh]]</span>
|
[[:Template:Time/sandbox]]
|
|
| Hawaii HDT during daylight
|
{{time|HDT|_TEST_TIME_=2020-06-05T18:05:00}}
|
| 16:05, June 5, 2020 HDT [refresh]
|
| Template:Time/sandbox
|
| Expanded code
|
16:05, June 5, 2020 [[Hawaii–Aleutian Time Zone|HDT]] <span class="plainlinks" style="font-size:85%;">[[https://moasspedia.org/w/index.php?title=Template:Time/testcases&action=purge refresh]]</span>
|
[[:Template:Time/sandbox]]
|
|
| Hawaii HAST during standard time
|
{{time|HAST|_TEST_TIME_=2020-12-05T18:05:00}}
|
| 16:05, December 5, 2020 HST [refresh]
|
| Template:Time/sandbox
|
| Expanded code
|
16:05, December 5, 2020 [[Hawaii–Aleutian Time Zone|HST]] <span class="plainlinks" style="font-size:85%;">[[https://moasspedia.org/w/index.php?title=Template:Time/testcases&action=purge refresh]]</span>
|
[[:Template:Time/sandbox]]
|
|
| Hawaii HAST during daylight
|
{{time|HAST|_TEST_TIME_=2020-06-05T18:05:00}}
|
| 16:05, June 5, 2020 HDT [refresh]
|
| Template:Time/sandbox
|
| Expanded code
|
16:05, June 5, 2020 [[Hawaii–Aleutian Time Zone|HDT]] <span class="plainlinks" style="font-size:85%;">[[https://moasspedia.org/w/index.php?title=Template:Time/testcases&action=purge refresh]]</span>
|
[[:Template:Time/sandbox]]
|
|
| Hawaii HADT during standard time
|
{{time|HADT|_TEST_TIME_=2020-12-05T18:05:00}}
|
| 16:05, December 5, 2020 HST [refresh]
|
| Template:Time/sandbox
|
| Expanded code
|
16:05, December 5, 2020 [[Hawaii–Aleutian Time Zone|HST]] <span class="plainlinks" style="font-size:85%;">[[https://moasspedia.org/w/index.php?title=Template:Time/testcases&action=purge refresh]]</span>
|
[[:Template:Time/sandbox]]
|
|
| Hawaii HADT during daylight
|
{{time|HADT|_TEST_TIME_=2020-06-05T18:05:00}}
|
| 16:05, June 5, 2020 HDT [refresh]
|
| Template:Time/sandbox
|
| Expanded code
|
16:05, June 5, 2020 [[Hawaii–Aleutian Time Zone|HDT]] <span class="plainlinks" style="font-size:85%;">[[https://moasspedia.org/w/index.php?title=Template:Time/testcases&action=purge refresh]]</span>
|
[[:Template:Time/sandbox]]
|
|
custom date format
| df-cust
|
{{time|df-cust=U|mst}}
|
| 1765355302 MST [refresh]
|
| Template:Time/sandbox
|
| Expanded code
|
1765355302 [[Mountain Time Zone|MST]] <span class="plainlinks" style="font-size:85%;">[[https://moasspedia.org/w/index.php?title=Template:Time/testcases&action=purge refresh]]</span>
|
[[:Template:Time/sandbox]]
|
|
| df-cust-a
|
{{time|df-cust-a=g:i "ᴀᴍ", j F Y|mst}}
|
| {{time}} – both of |df-cust-a= and |df-cust-p required (help)
|
| Template:Time/sandbox
|
| Expanded code
|
<span style="font-size:100%" class="error">{{time}} – both of |df-cust-a= and |df-cust-p required ([[Template:Time#Error messages|help]])</span>
|
[[:Template:Time/sandbox]]
|
|
| df-cust-p
|
{{time|df-cust=g:i "p. m.", j F Y|mst}}
|
| {{time}} – both of |df-cust-a= and |df-cust-p required (help)
|
| Template:Time/sandbox
|
| Expanded code
|
<span style="font-size:100%" class="error">{{time}} – both of |df-cust-a= and |df-cust-p required ([[Template:Time#Error messages|help]])</span>
|
[[:Template:Time/sandbox]]
|
|
| df-cust-p and df-cust-p;
|
{{time|df-cust=g:i "p. m.", j F Y|df-cust-a=g:i "ᴀᴍ", j F Y|_TEST_TIME_=2018-11-02T07:05:00}}
|
| 2:05 ᴀᴍ, 2 November 2018 UTC [refresh]
|
| Template:Time/sandbox
|
| Expanded code
|
2:05 ᴀᴍ, 2 November 2018 [[Coordinated Universal Time|UTC]] <span class="plainlinks" style="font-size:85%;">[[https://moasspedia.org/w/index.php?title=Template:Time/testcases&action=purge refresh]]</span>
|
[[:Template:Time/sandbox]]
|
|
| df-cust-p and df-cust-p;
|
{{time|df-cust-p=g:i "p. m.", j F Y|df-cust-a=g:i "ᴀᴍ", j F Y|_TEST_TIME_=2018-11-02T13:05:00}}
|
| 8:05 p. m., 2 November 2018 UTC [refresh]
|
| Template:Time/sandbox
|
| Expanded code
|
8:05 p. m., 2 November 2018 [[Coordinated Universal Time|UTC]] <span class="plainlinks" style="font-size:85%;">[[https://moasspedia.org/w/index.php?title=Template:Time/testcases&action=purge refresh]]</span>
|
[[:Template:Time/sandbox]]
|
|
lang
| Spanish
|
{{time|lang=es|mst}}
|
| 08:28, diciembre 10, 2025 MST [refresh]
|
| Template:Time/sandbox
|
| Expanded code
|
<bdi lang="es">08:28, diciembre 10, 2025</bdi> [[Mountain Time Zone|MST]] <span class="plainlinks" style="font-size:85%;">[[https://moasspedia.org/w/index.php?title=Template:Time/testcases&action=purge refresh]]</span>
|
[[:Template:Time/sandbox]]
|
|
| Russian
|
{{time|lang=ru|mst}}
|
| 08:28, декабрь 10, 2025 MST [refresh]
|
| Template:Time/sandbox
|
| Expanded code
|
<bdi lang="ru">08:28, декабрь 10, 2025</bdi> [[Mountain Time Zone|MST]] <span class="plainlinks" style="font-size:85%;">[[https://moasspedia.org/w/index.php?title=Template:Time/testcases&action=purge refresh]]</span>
|
[[:Template:Time/sandbox]]
|
|
| Hebrew
|
{{time|lang=he|mst}}
|
| 08:28, דצמבר 10, 2025 MST [refresh]
|
| Template:Time/sandbox
|
| Expanded code
|
<bdi lang="he">08:28, דצמבר 10, 2025</bdi> [[Mountain Time Zone|MST]] <span class="plainlinks" style="font-size:85%;">[[https://moasspedia.org/w/index.php?title=Template:Time/testcases&action=purge refresh]]</span>
|
[[:Template:Time/sandbox]]
|
|
Standard Timezone
No DST
|dst=no and EST
{{Time|EST|dst=no}}
Side by side comparison| {{Time}} | {{Time/sandbox}} |
|---|
|
10:28, December 10, 2025 EST [refresh] |
Error: expandTemplate: template "Time/sandbox" does not exist |
|dst=false and EST
{{Time|EST|dst=false}}
Side by side comparison| {{Time}} | {{Time/sandbox}} |
|---|
|
10:28, December 10, 2025 EST [refresh] |
Error: expandTemplate: template "Time/sandbox" does not exist |
|dst=0 and EST
{{Time|EST|dst=0}}
Side by side comparison| {{Time}} | {{Time/sandbox}} |
|---|
|
10:28, December 10, 2025 EST [refresh] |
Error: expandTemplate: template "Time/sandbox" does not exist |
|dst=no, EST, and |df=dmy
{{Time|EST|df=dmy|dst=no}}
Side by side comparison| {{Time}} | {{Time/sandbox}} |
|---|
|
10:28, 10 December 2025 EST [refresh] |
Error: expandTemplate: template "Time/sandbox" does not exist |
Always DST
{{Time|EST|dst=always}}
Side by side comparison| {{Time}} | {{Time/sandbox}} |
|---|
|
11:28, December 10, 2025 EDT [refresh] |
Error: expandTemplate: template "Time/sandbox" does not exist |
Auto DST
{{Time|EST|test_time=2020-06-05}}
Side by side comparison| {{Time}} | {{Time/sandbox}} |
|---|
|
10:28, December 10, 2025 EST [refresh] |
Error: expandTemplate: template "Time/sandbox" does not exist |
{{Time|EST|test_time=2020-01-05}}
Side by side comparison| {{Time}} | {{Time/sandbox}} |
|---|
|
10:28, December 10, 2025 EST [refresh] |
Error: expandTemplate: template "Time/sandbox" does not exist |
{{Time|EST}}
Side by side comparison| {{Time}} | {{Time/sandbox}} |
|---|
|
10:28, December 10, 2025 EST [refresh] |
Error: expandTemplate: template "Time/sandbox" does not exist |
Other timezones (aliases)
{{Time|EDT}}
Side by side comparison| {{Time}} | {{Time/sandbox}} |
|---|
|
10:28, December 10, 2025 EST [refresh] |
Error: expandTemplate: template "Time/sandbox" does not exist |
{{Time|ET}}
Side by side comparison| {{Time}} | {{Time/sandbox}} |
|---|
|
10:28, December 10, 2025 EST [refresh] |
Error: expandTemplate: template "Time/sandbox" does not exist |
UTC offsets
Hour
Hour and symbol at end
Hour and minute
Hour and decimal
{{Time|05.75|hide-refresh=yes}}
Side by side comparison| {{Time}} | {{Time/sandbox}} |
|---|
|
2025-12-10T21:13 UTC+05:45 |
Error: expandTemplate: template "Time/sandbox" does not exist |
{{Time|05.75|hide-tz=yes}}
Side by side comparison| {{Time}} | {{Time/sandbox}} |
|---|
|
2025-12-10T21:13 [refresh] |
Error: expandTemplate: template "Time/sandbox" does not exist |
{{Time|05.75|unlink-tz=yes}}
Side by side comparison| {{Time}} | {{Time/sandbox}} |
|---|
|
2025-12-10T21:13 UTC+05:45 [refresh] |
Error: expandTemplate: template "Time/sandbox" does not exist |
{{Time|05.222}}
Side by side comparison| {{Time}} | {{Time/sandbox}} |
|---|
|
{{time}} – unknown timezone 05.222 (help) |
Error: expandTemplate: template "Time/sandbox" does not exist |
Day of the week
{{Time|df=dow}}
Side by side comparison| {{Time}} | {{Time/sandbox}} |
|---|
|
Wednesday UTC [refresh] |
Error: expandTemplate: template "Time/sandbox" does not exist |
{{Time|EST|df=dow}}
Side by side comparison| {{Time}} | {{Time/sandbox}} |
|---|
|
Wednesday EST [refresh] |
Error: expandTemplate: template "Time/sandbox" does not exist |
Hour or minute
{{Time|df=H12}}
Side by side comparison| {{Time}} | {{Time/sandbox}} |
|---|
|
{{time}} – invalid date format h12 (help) |
Error: expandTemplate: template "Time/sandbox" does not exist |
{{Time|EST|df=H24}}
Side by side comparison| {{Time}} | {{Time/sandbox}} |
|---|
|
{{time}} – invalid date format h24 (help) |
Error: expandTemplate: template "Time/sandbox" does not exist |
{{Time|EST|df=min}}
Side by side comparison| {{Time}} | {{Time/sandbox}} |
|---|
|
{{time}} – invalid date format min (help) |
Error: expandTemplate: template "Time/sandbox" does not exist |
Is DST active?
Script error: No such module "time/sandbox".
Script error: No such module "time/sandbox".
Script error: No such module "time/sandbox".
Script error: No such module "time/sandbox".
Script error: No such module "time/sandbox".
Error causing inputs
{{Time|bob}}
Side by side comparison| {{Time}} | {{Time/sandbox}} |
|---|
|
{{time}} – unknown timezone bob (help) |
Error: expandTemplate: template "Time/sandbox" does not exist |
{{Time|CST|Realtime;)}}
Side by side comparison| {{Time}} | {{Time/sandbox}} |
|---|
|
{{time}} – invalid date format realtime;) (help) |
Error: expandTemplate: template "Time/sandbox" does not exist |
{{Time|111.25}}
Side by side comparison| {{Time}} | {{Time/sandbox}} |
|---|
|
{{time}} – unknown timezone 111.25 (help) |
Error: expandTemplate: template "Time/sandbox" does not exist |
{{Time|±1}}
Side by side comparison| {{Time}} | {{Time/sandbox}} |
|---|
|
{{time}} – invalid use of ± (help) |
Error: expandTemplate: template "Time/sandbox" does not exist |
{{Time|WAD|dmy}}
Side by side comparison| {{Time}} | {{Time/sandbox}} |
|---|
|
{{time}} – unknown timezone wad (help) |
Error: expandTemplate: template "Time/sandbox" does not exist |
{{Time|1|1}}
Side by side comparison| {{Time}} | {{Time/sandbox}} |
|---|
|
{{time}} – invalid date format 1 (help) |
Error: expandTemplate: template "Time/sandbox" does not exist |
Parameter hide-refresh
yes
{{Time|hide-refresh=yes}}
Side by side comparison| {{Time}} | {{Time/sandbox}} |
|---|
|
15:28, 10 December 2025 UTC |
Error: expandTemplate: template "Time/sandbox" does not exist |
true
{{Time|hide-refresh=true}}
Side by side comparison| {{Time}} | {{Time/sandbox}} |
|---|
|
15:28, 10 December 2025 UTC |
Error: expandTemplate: template "Time/sandbox" does not exist |
no
{{Time|hide-refresh=no}}
Side by side comparison| {{Time}} | {{Time/sandbox}} |
|---|
|
15:28, 10 December 2025 UTC [refresh] |
Error: expandTemplate: template "Time/sandbox" does not exist |
false
{{Time|hide-refresh=false}}
Side by side comparison| {{Time}} | {{Time/sandbox}} |
|---|
|
15:28, 10 December 2025 UTC [refresh] |
Error: expandTemplate: template "Time/sandbox" does not exist |
0
{{Time|hide-refresh=0}}
Side by side comparison| {{Time}} | {{Time/sandbox}} |
|---|
|
15:28, 10 December 2025 UTC [refresh] |
Error: expandTemplate: template "Time/sandbox" does not exist |
<empty>
{{Time|hide-refresh=}}
Side by side comparison| {{Time}} | {{Time/sandbox}} |
|---|
|
15:28, 10 December 2025 UTC [refresh] |
Error: expandTemplate: template "Time/sandbox" does not exist |
Parameter unlink-tz
yes
{{Time|05.75|unlink-tz=yes}}
Side by side comparison| {{Time}} | {{Time/sandbox}} |
|---|
|
2025-12-10T21:13 UTC+05:45 [refresh] |
Error: expandTemplate: template "Time/sandbox" does not exist |
true
{{Time|05.75|unlink-tz=true}}
Side by side comparison| {{Time}} | {{Time/sandbox}} |
|---|
|
2025-12-10T21:13 UTC+05:45 [refresh] |
Error: expandTemplate: template "Time/sandbox" does not exist |
no
{{Time|05.75|unlink-tz=no}}
false
{{Time|05.75|unlink-tz=false}}
0
{{Time|05.75|unlink-tz=0}}
<empty>
{{Time|05.75|unlink-tz=}}
Parameter hide-tz
yes
{{Time|05.75|hide-tz=yes}}
Side by side comparison| {{Time}} | {{Time/sandbox}} |
|---|
|
2025-12-10T21:13 [refresh] |
Error: expandTemplate: template "Time/sandbox" does not exist |
true
{{Time|05.75|hide-tz=true}}
Side by side comparison| {{Time}} | {{Time/sandbox}} |
|---|
|
2025-12-10T21:13 [refresh] |
Error: expandTemplate: template "Time/sandbox" does not exist |
no
{{Time|05.75|hide-tz=no}}
false
{{Time|05.75|hide-tz=false}}
Parameter dateonly
yes
{{Time|05.75|dateonly=yes}}
true
{{Time|05.75|dateonly=true}}
no
{{Time|05.75|dateonly=no}}
false
{{Time|05.75|dateonly=false}}
0
{{Time|05.75|dateonly=0}}
Parameter timeonly
yes
{{Time|05.75|timeonly=yes}}
true
{{Time|05.75|timeonly=true}}
no
{{Time|05.75|timeonly=no}}
false
{{Time|05.75|timeonly=false}}
0
{{Time|05.75|timeonly=0}}