الگو:Ctime:Y
ظاهر
2024
![](http://upload.wikimedia.org/wikipedia/commons/thumb/4/43/Test_Template_Info-Icon_-_Version_%282%29.svg/50px-Test_Template_Info-Icon_-_Version_%282%29.svg.png)
Examples
Input | Output |
---|---|
{{Ctime:Y|2024-06-29}} | 2024 |
{{Ctime:Y|2023-06-29}} | 2023 |
{{Ctime:Y|2020-06-29}} | 2020 |
{{Ctime:Y|2017-06-29}} | 2017 |
{{Ctime:Y|2014-06-29}} | 2014 |
{{Ctime:Y|2011-06-29}} | 2011 |
{{Ctime:Y|2008-06-29}} | 2008 |
{{Ctime:Y|2005-06-29}} | 2005 |
{{Ctime:Y|2002-06-29}} | 2002 |
{{Ctime:Y|1999-06-29}} | 1999 |
{{Ctime:Y|1996-06-29}} | 1996 |
{{Ctime:Y|1993-06-29}} | 1993 |
{{Ctime:Y|1990-06-29}} | 1990 |
To get the year number in the Chinese calendar
پارامتر | توضیحات | نوع | وضعیت | |
---|---|---|---|---|
date | 1 d | the date in the Gregorian calendar.
| تاریخ | اختیاری |