Template:NepaliDateConverter

维基百科,自由的百科全书
文档图示 模板文档[查看] [编辑] [历史] [清除缓存]

This template is used to convert dates from Bikram Sambat, which is the official calendar of Nepal, to Gregorian dates.

使用方式

語法:
{{{NepaliDateConverter|nepaliyear=year}}}
{{{NepaliDateConverter|year}}}
{{{NepaliDateConverter|nepaliyear=year|nepalimonth=month|nepaliday=day}}}
{{{NepaliDateConverter|year|month|day}}}
year, month and day are integers referring to the Bikram Sambat


範例:
{{NepaliDateConverter|nepaliyear=2078}} → 2078 BS (2021-2022)
{{NepaliDateConverter|2078}} → 2078 BS (2021-2022)
{{NepaliDateConverter|nepaliyear=2078|nepalimonth=12|nepaliday=12}} → 26 March 2022 (12 Chaitra 2078 BS)
{{NepaliDateConverter|2078|12|12}} → 26 March 2022 (12 Chaitra 2078 BS)