الگو:FULLDATE
ظاهر
ژوئن ۲۹, ۲۰۲۴
{{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 yesterday, today, tomorrow etc..) Do not use dates before 1970-01-02.
Examples[ویرایش]
Code
Result
{{FULLDATE}}
ژوئن ۲۹, ۲۰۲۴
{{FULLDATE|type=short}}
ژوئن ۲۹
{{FULLDATE|type=shortish}}
ژوئن. ۲۹, ۲۰۲۴
{{FULLDATE|type=medium}}
ژوئن ۲۹, ۲۰۲۴
{{FULLDATE|type=long}}
ژوئن ۲۹, ۲۰۲۴ ۲۳:۲۹:۵۶
{{FULLDATE|type=day}}
شنبه, ۲۹ ژوئن ۲۰۲۴
{{FULLDATE|type=longer}}
شنبه, ۲۹ ژوئن ۲۰۲۴ ۲۳:۲۹:۵۶ (UTC)
{{FULLDATE|type=rfc-2822}}
Sat, 29 Jun 2024 23:29:56 +0000
{{FULLDATE|type=iso-8601}}
2024-06-29T23:29:56+00:00
{{FULLDATE|type=wiki}}
۲۳:۲۹:۵۶, ۲۹ ژوئن ۲۰۲۴ (UTC)
{{FULLDATE|type=date}}
۲۰۲۴-۰۶-۲۹
{{FULLDATE|type=date|time=yesterday}}
۲۰۲۴-۰۶-۲۸
{{FULLDATE|type=date|time=today}}
۲۰۲۴-۰۶-۲۹
{{FULLDATE|type=date|time=tomorrow}}
۲۰۲۴-۰۶-۳۰
{{FULLDATE|type=date|time=1970-01-02}}
۱۹۷۰-۰۱-۰۲
{{FULLDATE|type=date|time=1970-12-31}}
۱۹۷۰-۱۲-۳۱
{{FULLDATE|type=iso-8601|time=1970-01-01 00:00:01}}
1970-01-01T00:00:01+00:00
See also[ویرایش]
- Help:Magic words for {{CURRENTDAY}}, etc.