Шаблон:FULLDATE: различия между версиями
Перейти к навигации
Перейти к поиску
(Новая страница: «{{#time:{{#switch:{{{type}}} |short = F j |shortish = M. j, Y |long = F j, Y H:i:s |day = l, d F Y |longer = l, d F Y H:i:s "(UTC)" |rfc-2822|r = r |iso-8601|c = c |wiki = H:i:s, j F Y "(UTC)" |date = Y-m-d |dmy = j F Y |medium |#default = F j, Y }} |{{#if:{{{time|}}} |{{{time}}} |now }} }}<noinclude> {{doc}} К...») |
(нет различий)
|
Текущая версия от 14:19, 18 июня 2024
июль 1, 2024
Документация
{{FULLDATE}} returns the full or short English date at current time (UTC time, as set on the Wikipedia server).
Usage
- The
type
parameter is optional and can be either:- short: display the current month name and day of month
- medium: display the current month name, day of month, and year (default)
- long: display the current month name, day of month, year, and UTC time
- rfc-2822: displays the time in rfc-2822 format
- iso-8601: displays the time in iso-8601 format
- wiki: displays the time in wiki format
- The
time
parameter is optional, and can be used to get a date of other reference (like tomorrow etc..)
Examples
Code | Result |
---|---|
{{FULLDATE}}
|
июль 1, 2024 |
{{FULLDATE|type=short}}
|
июль 1 |
{{FULLDATE|type=shortish}}
|
июл. 1, 2024 |
{{FULLDATE|type=medium}}
|
июль 1, 2024 |
{{FULLDATE|type=long}}
|
июль 1, 2024 18:31:09 |
{{FULLDATE|type=day}}
|
понедельник, 01 июль 2024 |
{{FULLDATE|type=longer}}
|
понедельник, 01 июль 2024 18:31:09 (UTC) |
{{FULLDATE|type=rfc-2822}}
|
Mon, 01 Jul 2024 18:31:09 +0000 |
{{FULLDATE|type=iso-8601}}
|
2024-07-01T18:31:09+00:00 |
{{FULLDATE|type=wiki}}
|
18:31:09, 1 июль 2024 (UTC) |
{{FULLDATE|type=date}}
|
2024-07-01 |
Related pages
- Help:Magic words for {{CURRENTDAY}}, etc.