Module:Time | Module:Time/sandbox
12:05, November 2, 2018 MDT [refresh]
12:05, November 2, 2018 MDT [refresh]
change to Hawaii–Aleutian abbreviation
Hawaii HST during standard time
|
{{time|HST|_TEST_TIME_=2020-12-05T18:05:00}}
|
08:05, December 5, 2020 HST [refresh]
|
08:05, December 5, 2020 HST [refresh]
|
Expanded code
|
08:05, December 5, 2020 [[Hawaii–Aleutian Time Zone|HST]] <span class="plainlinks" style="font-size:85%;">[[//en.wikipedia.org/w/index.php?title=Template:Time/testcases&action=purge refresh]]</span>
|
08:05, December 5, 2020 [[Hawaii–Aleutian Time Zone|HST]] <span class="plainlinks" style="font-size:85%;">[[//en.wikipedia.org/w/index.php?title=Template:Time/testcases&action=purge refresh]]</span>
|
|
Hawaii HST during daylight
|
{{time|HST|_TEST_TIME_=2020-06-05T18:05:00}}}
|
09:05, June 5, 2020 HDT [refresh]
|
09:05, June 5, 2020 HDT [refresh]
|
Expanded code
|
09:05, June 5, 2020 [[Hawaii–Aleutian Time Zone|HDT]] <span class="plainlinks" style="font-size:85%;">[[//en.wikipedia.org/w/index.php?title=Template:Time/testcases&action=purge refresh]]</span>
|
09:05, June 5, 2020 [[Hawaii–Aleutian Time Zone|HDT]] <span class="plainlinks" style="font-size:85%;">[[//en.wikipedia.org/w/index.php?title=Template:Time/testcases&action=purge refresh]]</span>
|
|
Hawaii HDT during standard time
|
{{time|HDT|_TEST_TIME_=2020-12-05T18:05:00}}
|
08:05, December 5, 2020 HST [refresh]
|
08:05, December 5, 2020 HST [refresh]
|
Expanded code
|
08:05, December 5, 2020 [[Hawaii–Aleutian Time Zone|HST]] <span class="plainlinks" style="font-size:85%;">[[//en.wikipedia.org/w/index.php?title=Template:Time/testcases&action=purge refresh]]</span>
|
08:05, December 5, 2020 [[Hawaii–Aleutian Time Zone|HST]] <span class="plainlinks" style="font-size:85%;">[[//en.wikipedia.org/w/index.php?title=Template:Time/testcases&action=purge refresh]]</span>
|
|
Hawaii HDT during daylight
|
{{time|HDT|_TEST_TIME_=2020-06-05T18:05:00}}
|
09:05, June 5, 2020 HDT [refresh]
|
09:05, June 5, 2020 HDT [refresh]
|
Expanded code
|
09:05, June 5, 2020 [[Hawaii–Aleutian Time Zone|HDT]] <span class="plainlinks" style="font-size:85%;">[[//en.wikipedia.org/w/index.php?title=Template:Time/testcases&action=purge refresh]]</span>
|
09:05, June 5, 2020 [[Hawaii–Aleutian Time Zone|HDT]] <span class="plainlinks" style="font-size:85%;">[[//en.wikipedia.org/w/index.php?title=Template:Time/testcases&action=purge refresh]]</span>
|
|
Hawaii HAST during standard time
|
{{time|HAST|_TEST_TIME_=2020-12-05T18:05:00}}
|
08:05, December 5, 2020 HST [refresh]
|
08:05, December 5, 2020 HST [refresh]
|
Expanded code
|
08:05, December 5, 2020 [[Hawaii–Aleutian Time Zone|HST]] <span class="plainlinks" style="font-size:85%;">[[//en.wikipedia.org/w/index.php?title=Template:Time/testcases&action=purge refresh]]</span>
|
08:05, December 5, 2020 [[Hawaii–Aleutian Time Zone|HST]] <span class="plainlinks" style="font-size:85%;">[[//en.wikipedia.org/w/index.php?title=Template:Time/testcases&action=purge refresh]]</span>
|
|
Hawaii HAST during daylight
|
{{time|HAST|_TEST_TIME_=2020-06-05T18:05:00}}
|
09:05, June 5, 2020 HDT [refresh]
|
09:05, June 5, 2020 HDT [refresh]
|
Expanded code
|
09:05, June 5, 2020 [[Hawaii–Aleutian Time Zone|HDT]] <span class="plainlinks" style="font-size:85%;">[[//en.wikipedia.org/w/index.php?title=Template:Time/testcases&action=purge refresh]]</span>
|
09:05, June 5, 2020 [[Hawaii–Aleutian Time Zone|HDT]] <span class="plainlinks" style="font-size:85%;">[[//en.wikipedia.org/w/index.php?title=Template:Time/testcases&action=purge refresh]]</span>
|
|
Hawaii HADT during standard time
|
{{time|HADT|_TEST_TIME_=2020-12-05T18:05:00}}
|
08:05, December 5, 2020 HST [refresh]
|
08:05, December 5, 2020 HST [refresh]
|
Expanded code
|
08:05, December 5, 2020 [[Hawaii–Aleutian Time Zone|HST]] <span class="plainlinks" style="font-size:85%;">[[//en.wikipedia.org/w/index.php?title=Template:Time/testcases&action=purge refresh]]</span>
|
08:05, December 5, 2020 [[Hawaii–Aleutian Time Zone|HST]] <span class="plainlinks" style="font-size:85%;">[[//en.wikipedia.org/w/index.php?title=Template:Time/testcases&action=purge refresh]]</span>
|
|
Hawaii HADT during daylight
|
{{time|HADT|_TEST_TIME_=2020-06-05T18:05:00}}
|
09:05, June 5, 2020 HDT [refresh]
|
09:05, June 5, 2020 HDT [refresh]
|
Expanded code
|
09:05, June 5, 2020 [[Hawaii–Aleutian Time Zone|HDT]] <span class="plainlinks" style="font-size:85%;">[[//en.wikipedia.org/w/index.php?title=Template:Time/testcases&action=purge refresh]]</span>
|
09:05, June 5, 2020 [[Hawaii–Aleutian Time Zone|HDT]] <span class="plainlinks" style="font-size:85%;">[[//en.wikipedia.org/w/index.php?title=Template:Time/testcases&action=purge refresh]]</span>
|
|
custom date format
df-cust
|
{{time|df-cust=U|mst}}
|
1720097497 MDT [refresh]
|
1720097497 MDT [refresh]
|
Expanded code
|
1720097497 [[Mountain Time Zone|MDT]] <span class="plainlinks" style="font-size:85%;">[[//en.wikipedia.org/w/index.php?title=Template:Time/testcases&action=purge refresh]]</span>
|
1720097497 [[Mountain Time Zone|MDT]] <span class="plainlinks" style="font-size:85%;">[[//en.wikipedia.org/w/index.php?title=Template:Time/testcases&action=purge refresh]]</span>
|
|
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)
|
{{time}} – both of |df-cust-a= and |df-cust-p required (help)
|
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>
|
<span style="font-size:100%" class="error">{{time}} – both of |df-cust-a= and |df-cust-p required ([[Template:Time#Error messages|help]])</span>
|
|
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)
|
{{time}} – both of |df-cust-a= and |df-cust-p required (help)
|
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>
|
<span style="font-size:100%" class="error">{{time}} – both of |df-cust-a= and |df-cust-p required ([[Template:Time#Error messages|help]])</span>
|
|
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}}
|
7:05 ᴀᴍ, 2 November 2018 UTC [refresh]
|
7:05 ᴀᴍ, 2 November 2018 UTC [refresh]
|
Expanded code
|
7:05 ᴀᴍ, 2 November 2018 [[Coordinated Universal Time|UTC]] <span class="plainlinks" style="font-size:85%;">[[//en.wikipedia.org/w/index.php?title=Template:Time/testcases&action=purge refresh]]</span>
|
7:05 ᴀᴍ, 2 November 2018 [[Coordinated Universal Time|UTC]] <span class="plainlinks" style="font-size:85%;">[[//en.wikipedia.org/w/index.php?title=Template:Time/testcases&action=purge refresh]]</span>
|
|
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}}
|
1:05 p. m., 2 November 2018 UTC [refresh]
|
1:05 p. m., 2 November 2018 UTC [refresh]
|
Expanded code
|
1:05 p. m., 2 November 2018 [[Coordinated Universal Time|UTC]] <span class="plainlinks" style="font-size:85%;">[[//en.wikipedia.org/w/index.php?title=Template:Time/testcases&action=purge refresh]]</span>
|
1:05 p. m., 2 November 2018 [[Coordinated Universal Time|UTC]] <span class="plainlinks" style="font-size:85%;">[[//en.wikipedia.org/w/index.php?title=Template:Time/testcases&action=purge refresh]]</span>
|
|
lang
Spanish
|
{{time|lang=es|mst}}
|
12:51, julio 4, 2024 MDT [refresh]
|
12:51, julio 4, 2024 MDT [refresh]
|
Expanded code
|
<bdi lang="es">12:51, julio 4, 2024</bdi> [[Mountain Time Zone|MDT]] <span class="plainlinks" style="font-size:85%;">[[//en.wikipedia.org/w/index.php?title=Template:Time/testcases&action=purge refresh]]</span>
|
<bdi lang="es">12:51, julio 4, 2024</bdi> [[Mountain Time Zone|MDT]] <span class="plainlinks" style="font-size:85%;">[[//en.wikipedia.org/w/index.php?title=Template:Time/testcases&action=purge refresh]]</span>
|
|
Russian
|
{{time|lang=ru|mst}}
|
12:51, июль 4, 2024 MDT [refresh]
|
12:51, июль 4, 2024 MDT [refresh]
|
Expanded code
|
<bdi lang="ru">12:51, июль 4, 2024</bdi> [[Mountain Time Zone|MDT]] <span class="plainlinks" style="font-size:85%;">[[//en.wikipedia.org/w/index.php?title=Template:Time/testcases&action=purge refresh]]</span>
|
<bdi lang="ru">12:51, июль 4, 2024</bdi> [[Mountain Time Zone|MDT]] <span class="plainlinks" style="font-size:85%;">[[//en.wikipedia.org/w/index.php?title=Template:Time/testcases&action=purge refresh]]</span>
|
|
Hebrew
|
{{time|lang=he|mst}}
|
12:51, יולי 4, 2024 MDT [refresh]
|
12:51, יולי 4, 2024 MDT [refresh]
|
Expanded code
|
<bdi lang="he">12:51, יולי 4, 2024</bdi> [[Mountain Time Zone|MDT]] <span class="plainlinks" style="font-size:85%;">[[//en.wikipedia.org/w/index.php?title=Template:Time/testcases&action=purge refresh]]</span>
|
<bdi lang="he">12:51, יולי 4, 2024</bdi> [[Mountain Time Zone|MDT]] <span class="plainlinks" style="font-size:85%;">[[//en.wikipedia.org/w/index.php?title=Template:Time/testcases&action=purge refresh]]</span>
|
|
Standard Timezone
No DST
|dst=no
, EST, and |df=dmy
{{Time|EST |df=dmy |dst=no}}
Always DST
Auto DST
{{Time|EST |test_time=2020-06-05}}
{{Time|EST |test_time=2020-01-05}}
Other timezones (aliases)
UTC offsets
Hour
Hour and symbol at end
Hour and minute
Hour and decimal
{{Time|05.75 |hide-refresh=yes}}
{{Time|05.75 |hide-tz=yes}}
{{Time|05.75 |unlink-tz=yes}}
{{Time|05.222}}
Side by side comparison{{Time}} | {{Time/sandbox}} |
---|
{{time}} – unknown timezone 05.222 (help) |
{{time}} – unknown timezone 05.222 (help) |
Day of the week
Hour or minute
{{Time |df=H12}}
Side by side comparison{{Time}} | {{Time/sandbox}} |
---|
{{time}} – invalid date format h12 (help) |
{{time}} – invalid date format h12 (help) |
{{Time|EST |df=H24}}
Side by side comparison{{Time}} | {{Time/sandbox}} |
---|
{{time}} – invalid date format h24 (help) |
{{time}} – invalid date format h24 (help) |
{{Time|EST |df=min}}
Side by side comparison{{Time}} | {{Time/sandbox}} |
---|
{{time}} – invalid date format min (help) |
{{time}} – invalid date format min (help) |
Is DST active?
Script error: The function "dst" does not exist.
Script error: The function "dst" does not exist.
Script error: The function "dst" does not exist.
Script error: The function "dst" does not exist.
Script error: The function "dst" does not exist.
Error causing inputs
{{Time|bob}}
Side by side comparison{{Time}} | {{Time/sandbox}} |
---|
{{time}} – unknown timezone bob (help) |
{{time}} – unknown timezone bob (help) |
{{Time|CST|Realtime;)}}
Side by side comparison{{Time}} | {{Time/sandbox}} |
---|
{{time}} – invalid date format realtime;) (help) |
{{time}} – invalid date format realtime;) (help) |
{{Time|111.25}}
Side by side comparison{{Time}} | {{Time/sandbox}} |
---|
{{time}} – unknown timezone 111.25 (help) |
{{time}} – unknown timezone 111.25 (help) |
{{Time|WAD|dmy}}
Side by side comparison{{Time}} | {{Time/sandbox}} |
---|
{{time}} – unknown timezone wad (help) |
{{time}} – unknown timezone wad (help) |
{{Time|1|1}}
Side by side comparison{{Time}} | {{Time/sandbox}} |
---|
{{time}} – invalid date format 1 (help) |
{{time}} – invalid date format 1 (help) |
Parameter hide-refresh
yes
{{Time |hide-refresh=yes}}
true
{{Time |hide-refresh=true}}
no
{{Time |hide-refresh=no}}
false
{{Time |hide-refresh=false}}
Parameter unlink-tz
yes
{{Time|05.75 |unlink-tz=yes}}
true
{{Time|05.75 |unlink-tz=true}}
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}}
true
{{Time|05.75 |hide-tz=true}}
no
{{Time|05.75 |hide-tz=no}}
false
{{Time|05.75 |hide-tz=false}}
0
{{Time|05.75 |hide-tz=0}}
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}}
<empty>
{{Time|05.75 |dateonly=}}
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}}
<empty>
{{Time|05.75 |timeonly=}}