قالب:العمر بالسنين والشهور والأسابيع والأيام/شرح

  • {{العمر بالسنين والشهور والأسابيع والأيام|day1=15|month1=4|year1=1999}} ← 25 سنوات، و1 أسبوع، و2 أيام

الاستخدام عدل

{{العمر بالسنين والشهور والأسابيع والأيام |month1 = |day1 = |year1 = |month2 = |day2 = | year2 = }}

Note that all parameters default to the current date, so for example, the second set of parameters can be left out to calculate elapsed time since a past date:

  • {{Age in years, months, weeks and days|day1=1|month1=1|year1=1}} ← 2023 سنوات، و3 شهور، و3 أسابيع، و2 أيام

Or simply, using the simpler parameter names, compatible with {{منذ سنة شهر يوم}}:

  • {{Age in years, months, weeks and days|year=1|day=1|month=1}} ← 2023 سنوات، و3 شهور، و3 أسابيع، و2 أيام

Alternatively, the first set of parameters can be left out to get the time left until a future date, such as the next ويكيبيديا:يوم ويكيبيديا:

  • {{Age in years, months, weeks and days|year2=2025|month2=1|day2=15}} ← 8 شهور، و3 أسابيع، و1 يوم