Templat:FULLDATE

Daripada Wikipedia, ensiklopedia bebas.

Mei 27, 2024

Pendokumenan templat berikut ditransklusikan daripada Templat:FULLDATE/doc [sunting]

{{FULLDATE}} returns the full or short English date at current time (UTC time, as set on the Wikipedia server).

Usage[sunting sumber]

  • 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[sunting sumber]

Code Result
{{FULLDATE}} Mei 27, 2024
{{FULLDATE|type=short}} Mei 27
{{FULLDATE|type=shortish}} Mei. 27, 2024
{{FULLDATE|type=medium}} Mei 27, 2024
{{FULLDATE|type=long}} Mei 27, 2024 01:36:19
{{FULLDATE|type=day}} Isnin, 27 Mei 2024
{{FULLDATE|type=longer}} Isnin, 27 Mei 2024 01:36:19 (UTC)
{{FULLDATE|type=rfc-2822}} Mon, 27 May 2024 01:36:19 +0000
{{FULLDATE|type=iso-8601}} 2024-05-27T01:36:19+00:00
{{FULLDATE|type=wiki}} 01:36:19, 27 Mei 2024 (UTC)
{{FULLDATE|type=date}} 2024-05-27

See also[sunting sumber]