টেমপ্লেট:Check date
This template is used to check whether the given parameter is a month. It is useful for templates such as {{Multiple issues}}that sort articles into cleanup categories by month.
If the parameter is a month/date/time formatted in the way recognized by PHP's strtotime(), this template returns the month in the format Month Year
, where Month
is written in full and Year
is written in 4 digits.
If the parameter is not a month/date/time, the empty string is returned.
Input | Output |
---|---|
{{Check date|April 2003}} | এপ্রিল ২০০৩ |
{{Check date|2003 April}} | এপ্রিল ২০০৩ |
{{Check date|Apr 2003}} | এপ্রিল ২০০৩ |
{{Check date|April 3 2003}} | এপ্রিল ২০০৩ |
{{Check date|April 03}} | এপ্রিল ২০২৩ (thinks it is April 3 of the current year) |
{{Check date|Garbage^&*text}} |
উপরোক্ত নথিটি টেমপ্লেট:Check date/নথি থেকে প্রতিলিপ্ত। (সম্পাদনা | ইতিহাস) ব্যবহারকারীগণ খেলাঘর (তৈরি করুন | আয়না) এবং পরীক্ষা পাতায় (তৈরি করুন) এই টেমপ্লেট সংক্রান্ত পরীক্ষা-নিরীক্ষা করতে পারেন। দয়া করে /নথি উপপাতায় বিষয়শ্রেণী যোগ করুন। এই টেমপ্লেটের উপপাতাসমূহ। |