Şablon:Yıl, ay, hafta ve güne göre zaman
Bu şablon iki tarih arasındaki toplam süreyi gün, hafta, ay ve yıl olarak hesaplar.
Kullanımı[kaynağı değiştir]
{{Yıl, ay, hafta ve güne göre zaman |ay1 = |gün1 = |yıl1 = |ay2 = |gün2 = |yıl2 = }}
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:
{{Yıl, ay, hafta ve güne göre zaman |ay1 = 1 |gün1 = 1 |yıl1 = 1 }}
→ 2022 yıl, 9 ay,
Or simply, using the simpler parameter names, compatible with {{Yıl, ay, hafta ve güne göre zaman}}:
{{Yıl, ay, hafta ve güne göre zaman |month = 1 |day = 1 |year = 1 }}
→
Alternatively, the first set of parameters can be left out to get the time left until a future date, such as the next Wikipedia Day:
{{Yıl, ay, hafta ve güne göre zaman |ay2 = 1 |gün2 = 15 |yıl2 = 2024 }}
→ 3 ay, 2 hafta