Шаблон:FULLDATE/Документация

Материал из Decimal Wiki
Перейти к навигации Перейти к поиску

{{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}} декабрь 18, 2024
{{FULLDATE|type=short}} декабрь 18
{{FULLDATE|type=shortish}} дек. 18, 2024
{{FULLDATE|type=medium}} декабрь 18, 2024
{{FULLDATE|type=long}} декабрь 18, 2024 10:01:18
{{FULLDATE|type=day}} среда, 18 декабрь 2024
{{FULLDATE|type=longer}} среда, 18 декабрь 2024 10:01:18 (UTC)
{{FULLDATE|type=rfc-2822}} Wed, 18 Dec 2024 10:01:18 +0000
{{FULLDATE|type=iso-8601}} 2024-12-18T10:01:18+00:00
{{FULLDATE|type=wiki}} 10:01:18, 18 декабрь 2024 (UTC)
{{FULLDATE|type=date}} 2024-12-18

Related pages