The time is 10:31:42 in this user's timezone. |
This userbox displays the time of a user's timezone in both 12-hour and 24-hour given user's preference.
Parameters
edit{{User:Pratyya Ghosh/Userboxes/Time}}
supports various number of parameters giving the user full independence to customize the box.
Basic Parameters
edittz
for timezone. It is the parameter for TimeZone (tz). Detailed possible inputs are given below. By default it is set to UTC.
Timezone parameters
UTC Zone | Code (for Timezone) | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
UTC−12:00 |
| |||||||||
UTC−11:00 |
| |||||||||
UTC−10:00 |
| |||||||||
UTC−09:30 |
| |||||||||
UTC−09:00 |
| |||||||||
UTC−08:00 |
| |||||||||
UTC−07:00 |
| |||||||||
UTC−06:00 |
| |||||||||
UTC−05:00 |
| |||||||||
UTC−04:00 |
| |||||||||
UTC−03:30 |
| |||||||||
UTC−03:00 |
| |||||||||
UTC−02:30 |
| |||||||||
UTC−02:00 |
| |||||||||
UTC−01:00 |
| |||||||||
UTC+00:00 |
| |||||||||
UTC+01:00 |
| |||||||||
UTC+02:00 |
| |||||||||
UTC+03:00 |
| |||||||||
UTC+03:30 |
| |||||||||
UTC+04:00 |
| |||||||||
UTC+04:30 |
| |||||||||
UTC+05:00 |
| |||||||||
UTC+05:30 |
| |||||||||
UTC+05:45 |
| |||||||||
UTC+06:00 |
| |||||||||
UTC+06:30 |
| |||||||||
UTC+07:00 |
| |||||||||
UTC+08:00 |
| |||||||||
UTC+09:00 |
| |||||||||
UTC+09:30 |
| |||||||||
UTC+10:00 |
| |||||||||
UTC+10:30 |
| |||||||||
UTC+11:00 |
| |||||||||
UTC+12:00 |
| |||||||||
UTC+12:45 |
| |||||||||
UTC+13:00 |
| |||||||||
UTC+13:45 |
| |||||||||
UTC+14:00 |
| |||||||||
UTC−10:30 | H-10:30 | |||||||||
UTC−08:30 | H-08:30 | |||||||||
UTC−04:30 | H-04:30 | |||||||||
UTC−00:44 | H-00:44 | |||||||||
UTC−00:25:21 | H-00:25:21 | |||||||||
UTC+00:20 | H+00:20 | |||||||||
UTC+00:30 | H+00:30 | |||||||||
UTC+01:24 | H+01:24 | |||||||||
UTC+01:30 | H+01:30 | |||||||||
UTC+02:30 | H+02:30 | |||||||||
UTC+04:51 | H+04:51 | |||||||||
UTC+05:21:14 | H+05:21:14 | |||||||||
UTC+05:40 | H+05:40 | |||||||||
UTC+05:53:20 | H+05:53:20 | |||||||||
UTC+06:10:37 | H+06:10:37 | |||||||||
UTC+07:20 | H+07:20 | |||||||||
UTC+07:30 | H+07:30 | |||||||||
UTC+08:30 | H+08:30 | |||||||||
UTC+08:45 | H+08:45 | |||||||||
UTC+09:45 | H+09:45 | |||||||||
UTC+11:30 | H+11:30 |
format
for hour format. Possible entries are12
and24
By default it is set to24
country
for country/region. Detailed Possible inputs are given below. By default it is set tothis user's timezone
Country Parameters
Code (for Country) | Code to display |
---|---|
<blank> | this user's timezone |
<default> | this user's timezone |
AF | Afghanistan |
AX | Åland Islands |
AL | Albania |
DZ | Algeria |
AS | American Samoa |
AD | Andorra |
AO | Angola |
AI | Anguilla |
AQ | Antarctica |
AG | Antigua and Barbuda |
AR | Argentina |
AM | Armenia |
AW | Aruba |
AU | Australia |
AT | Austria |
AZ | Azerbaijan |
BS | Bahamas |
BH | Bahrain |
BD | Bangladesh |
BB | Barbados |
BY | Belarus |
BE | Belgium |
BZ | Belize |
BJ | Benin |
BM | Bermuda |
BT | Bhutan |
BO | Bolivia |
BQ | Caribbean Netherlands |
BA | Bosnia and Herzegovina |
BW | Botswana |
BV | Bouvet Island |
BR | Brazil |
IO | British Indian Ocean Territory |
BN | Brunei Darussalam |
BG | Bulgaria |
BF | Burkina Faso |
BI | Burundi |
CV | Cabo Verde |
KH | Cambodia |
CM | Cameroon |
CA | Canada |
KY | Cayman Islands |
CF | Central African Republic |
TD | Chad |
CL | Chile |
CN | China |
CX | Christmas Island |
CC | Cocos (Keeling) Islands |
CO | Colombia |
KM | Comoros |
CG | Congo |
CD | Congo, Democratic Republic of the |
CK | Cook Islands |
CR | Costa Rica |
CI | Côte d'Ivoire |
CI | Ivory Coast |
HR | Croatia |
CU | Cuba |
CW | Curaçao |
CY | Cyprus |
CZ | Czech Republic |
DK | Denmark |
DJ | Djibouti |
DM | Dominica |
DO | Dominican Republic |
EC | Ecuador |
EG | Egypt |
SV | El Salvador |
GQ | Equatorial Guinea |
ER | Eritrea |
EE | Estonia |
SZ | Eswatini |
ET | Ethiopia |
FK | Falkland Islands |
FO | Faroe Islands |
FJ | Fiji |
FI | Finland |
FR | France |
GF | French Guiana |
PF | French Polynesia |
TF | French Southern and Antarctic Lands |
GA | Gabon |
GM | Gambia |
GE | Georgia |
DE | Germany |
GH | Ghana |
GI | Gibraltar |
GR | Greece |
GL | Greenland |
GD | Grenada |
GP | Guadeloupe |
GU | Guam |
GT | Guatemala |
GG | Guernsey |
GN | Guinea |
GW | Guinea-Bissau |
GY | Guyana |
HT | Haiti |
HM | Heard Island and McDonald Islands |
VA | Holy See |
HN | Honduras |
HK | Hong Kong |
HU | Hungary |
IS | Iceland |
IN | India |
ID | Indonesia |
IR | Iran |
IQ | Iraq |
IE | Ireland |
IM | Isle of Man |
IL | Israel |
IT | Italy |
JM | Jamaica |
JP | Japan |
JE | Jersey |
JO | Jordan |
KZ | Kazakhstan |
KE | Kenya |
KI | Kiribati |
KP | North Korea |
KR | South Korea |
KW | Kuwait |
KG | Kyrgyzstan |
LA | Laos |
LV | Latvia |
LB | Lebanon |
LS | Lesotho |
LR | Liberia |
LY | Libya |
LI | Liechtenstein |
LT | Lithuania |
LU | Luxembourg |
MO | Macau |
MG | Madagascar |
MW | Malawi |
MY | Malaysia |
MV | Maldives |
ML | Mali |
MT | Malta |
MH | Marshall Islands |
MQ | Martinique |
MR | Mauritania |
MU | Mauritius |
YT | Mayotte |
MX | Mexico |
FM | Micronesia |
MD | Moldova |
MC | Monaco |
MN | Mongolia |
ME | Montenegro |
MS | Montserrat |
MA | Morocco |
MZ | Mozambique |
MM | Myanmar |
NA | Namibia |
NR | Nauru |
NP | Nepal |
NL | Netherlands |
NC | New Caledonia |
NZ | New Zealand |
NI | Nicaragua |
NE | Niger |
NG | Nigeria |
NU | Niue |
NF | Norfolk Island |
MK | North Macedonia |
MP | Northern Mariana Islands |
NO | Norway |
OM | Oman |
PK | Pakistan |
PW | Palau |
PS | Palestine |
PA | Panama |
PG | Papua New Guinea |
PY | Paraguay |
PE | Peru |
PH | Philippines |
PN | Pitcairn |
PL | Poland |
PT | Portugal |
PR | Puerto Rico |
QA | Qatar |
RE | Réunion |
RO | Romania |
RU | Russia |
RW | Rwanda |
BL | Saint Barthélemy |
SH | Saint Helena |
KN | Saint Kitts and Nevis |
LC | Saint Lucia |
MF | Saint Martin (French part) |
PM | Saint Pierre and Miquelon |
VC | Saint Vincent and the Grenadines |
WS | Samoa |
SM | San Marino |
ST | Sao Tome and Principe |
SA | Saudi Arabia |
SN | Senegal |
RS | Serbia |
SC | Seychelles |
SL | Sierra Leone |
SG | Singapore |
SX | Sint Maarten (Dutch part) |
SK | Slovakia |
SI | Slovenia |
SB | Solomon Islands |
SO | Somalia |
ZA | South Africa |
GS | South Georgia and the South Sandwich Islands |
SS | South Sudan |
ES | Spain |
LK | Sri Lanka |
SD | Sudan |
SR | Suriname |
SJ | Svalbard and Jan Mayen |
SE | Sweden |
CH | Switzerland |
SY | Syria |
TW | Taiwan, Province of China |
TJ | Tajikistan |
TZ | Tanzania |
TH | Thailand |
TL | Timor-Leste |
TG | Togo |
TK | Tokelau |
TO | Tonga |
TT | Trinidad and Tobago |
TN | Tunisia |
TR | Turkey |
TM | Turkmenistan |
TC | Turks and Caicos Islands |
TV | Tuvalu |
UG | Uganda |
UA | Ukraine |
AE | United Arab Emirates |
AE | UAE |
GB | United Kingdom |
GB | UK |
US | United States of America |
US | USA |
UM | United States Minor Outlying Islands |
UY | Uruguay |
UZ | Uzbekistan |
VU | Vanuatu |
VE | Venezuela |
VN | Vietnam |
VG | British Virgin Islands |
VI | United States Virgin Islands |
WF | Wallis and Futuna |
EH | Western Sahara |
YE | Yemen |
ZM | Zambia |
ZW | Zimbabwe |
second
(Optional) for adding or not adding seconds parameter to end. If input is set asn
orN
then the seconds parameter won't be shown. Otherwise for any input or blank it is to show seconds by default.region
(Optional) for city/sub-region. This is completely a user-defined input. What user inputs will be the output.
Extra Parameters
editpunc
for punctuation between time parameters. This is default between both. Currently the default is:
punc1
(Optional) for for punctuation between hours and minutes parameter. By default not used.punc2
(Optional) for for punctuation between minutes and seconds parameter. By default not used.font
font of the userbox text. Currently set to Wikipedia default.bg-color
for background color. See list of colors for possible inputs. By default it is set to #00563F.text-color
for font color. See list of colors for possible inputs. By default it is set to white.text-size
For the text size of the image. By default it is set to 9.text-align
for the text align of userbox. By default it is set to center.region-color
for color of user's given region. See list of colors for possible inputs. By default it is set to white.country-color
for color of user's given country. See list of colors for possible inputs. By default it is set to white.border-color
for color of userbox border. See list of colors for possible inputs. By default it is set to white.image
for the image. User can use any image according to users liking. The image should be used according to the ratio which are as like wiki-markup. By default it is set to a number of 720 images which changes in every minutes. So the suggestion will be not messing up with it.image-bg-color
for color of userbox image background color. See list of colors for possible inputs. By default it is set to white.image-text-color
for color of userbox image text (if text is used rather image) color. See list of colors for possible inputs. By default it is set to black.
Usage
editCode (Basic Parameters) | Display | ||
---|---|---|---|
{{User:Pratyya Ghosh/Userboxes/Time|tz=+6|format=24|country=BD|region=Dhaka}} |
| ||
{{User:Pratyya Ghosh/Userboxes/Time|tz=+5.30|format=12|country= IN}} |
| ||
{{User:Pratyya Ghosh/Userboxes/Time|tz=+6|format=24|country=BD|region=Dhaka|second=n}} |
| ||
Code (Extra Parameters) | Display | ||
{{User:Pratyya Ghosh/Userboxes/Time|tz=+6|format=24|country=BD|bg-color = black|text-color = red}} |
| ||
{{User:Pratyya Ghosh/Userboxes/Time|tz=+6|format=24|country=BD|bg-color = black|text-color = cyan|country-color = red}} |
| ||
{{User:Pratyya Ghosh/Userboxes/Time|tz=+6|format=24|country=BD|region=Dhaka|bg-color = black|text-color = cyan|country-color = red|region-color = yellow}} |
| ||
{{User:Pratyya Ghosh/Userboxes/Time|tz=+6|format=24|country=BD|region=Dhaka|image = TIME}} |
| ||
{{User:Pratyya Ghosh/Userboxes/Time|tz=+6|format=24|country=BD|region=Dhaka|image = TIME|image-bg-color=black|image-text-color=white}} |
| ||
Code (Default) | Display | ||
{{User:Pratyya Ghosh/Userboxes/Time}} |
|