แม่แบบ:Ctime:Y
หน้าตา
2024
![Documentation icon](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-22}} | 2024 |
{{Ctime:Y|2023-06-22}} | 2023 |
{{Ctime:Y|2020-06-22}} | 2020 |
{{Ctime:Y|2017-06-22}} | 2017 |
{{Ctime:Y|2014-06-22}} | 2014 |
{{Ctime:Y|2011-06-22}} | 2011 |
{{Ctime:Y|2008-06-22}} | 2008 |
{{Ctime:Y|2005-06-22}} | 2005 |
{{Ctime:Y|2002-06-22}} | 2002 |
{{Ctime:Y|1999-06-22}} | 1999 |
{{Ctime:Y|1996-06-22}} | 1996 |
{{Ctime:Y|1993-06-22}} | 1993 |
{{Ctime:Y|1990-06-22}} | 1990 |
To get the year number in the Chinese calendar
พารามิเตอร์ | คำอธิบาย | ชนิด | สถานะ | |
---|---|---|---|---|
date | 1 d | the date in the Gregorian calendar.
| วันที่ | เลือกได้ |
ผู้เขียนสามารถทำการทดลองได้ที่กระบะทราย (สร้าง | คัดลอก) และชุดทดสอบ (สร้าง) ของแม่แบบนี้ หน้าย่อยของแม่แบบนี้ |