Шаблон: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}} май 4, 2025
{{FULLDATE|type=short}} май 4
{{FULLDATE|type=shortish}} май. 4, 2025
{{FULLDATE|type=medium}} май 4, 2025
{{FULLDATE|type=long}} май 4, 2025 08:33:39
{{FULLDATE|type=day}} воскресенье, 04 май 2025
{{FULLDATE|type=longer}} воскресенье, 04 май 2025 08:33:39 (UTC)
{{FULLDATE|type=rfc-2822}} Sun, 04 May 2025 08:33:39 +0000
{{FULLDATE|type=iso-8601}} 2025-05-04T08:33:39+00:00
{{FULLDATE|type=wiki}} 08:33:39, 4 май 2025 (UTC)
{{FULLDATE|type=date}} 2025-05-04

Related pages