[Free] Nepali Calendar Extension - An extension to convert AD to BS date and vice-versa

Nepali Calendar (Bikram Sambat)

Nepali Calendar ie, Vikram Sambat Calendar is a historical hindu calendar used in Indian SubContinent and is the official calendar of Nepal. The calendar is almost 57 years older then English Calendar.
This extension will help you to convert date in AD to BS and vice-versa , as well the extension is connected with an api to fetch Tithi, Events of the day, Holiday and vice-versa.

Blocks & Documentation

component_method (3)
This method converts AD date to BS date. Remeber date must be from 1913 AD to 2043AD. ‘month’ accepts value 1 to 12 , ‘dayOfMonth’ accepts value from 1 to 31 and year accepts value from 1913 to 2043. When date is converted , an event is fired.

component_event (2)
This event is fired when AD date is converted into BS date. It will give you day, month , year and dayOfWeek value in integer.

component_method (4)
This method converts BS date to AD date. ‘nepaliMonth’ accepts integer value from 1 to 12 , ‘nepaliDayOfMonth’ accepts value from 1 to 31 and ‘nepaliYear’ accepts value from 1970 to 2100.

component_method (5)
This method will help you to fetch json data and to find tithi,holidays etc… ‘year’ accepts BS year value. You can also use web component alternatively . You can use https://raw.githubusercontent.com/oseamiya/NepaliCalendar/main/api/year.json alternatively. Remeber year accepts value from 1970 to 2074 BS.
An event is triggered when the method got json

component_event (3)
This event will be fired from GetJson method.

component_method (6)
This method helps you to get tithi, holiday, special day , event of the day . It formats the json string that we got earlier using GetJson method. ‘json’ accepts json String, ‘month’ accepts integer from 1 to 12 and ‘day’ accepts integer from 1 to 31. An event will be triggered.

component_event (4)
This event will be triggered from FormatJson method. ‘tithi’ will give tithi of the day in devangari. ‘event’ will give event of that day . If none event then it will give blank string. ‘isHoliday’ and ‘isSpecialDay’ will give true or false.

component_method (7)
This will create a Nepali calendar view in a HVArrangement.

Screenshots :

Download:

You can download extension from my Github Repo

Aia download : NepaliCalendar.aia (120.6 KB)

Thankyou.

10 Likes

@oseamiya Nice work :slightly_smiling_face: :relaxed: :relaxed:

2 Likes

That's Epic Work !

:heart_eyes:

3 Likes

Nyc work​:+1:

#off-topic

I never heard anything about such type of calendar :joy:

Nice :+1: btw whats AD and BS…

AD - Anno Domini (Gregorian Calendar)
BS - Vikram Samvat (From the era of King Vikramaditya)

3 Likes

This calendar is first originated from Rajsthan of India , then it was widely used in West Bengal . As far as I know, after British Rule in India, English Calendar got popular on India.
In Nepal, It is the official calendar and we use this calendar date . And today is 2078-3-10 :sweat_smile:

You can know more about it from :

2 Likes

Thank you very much !

2 Likes

Fantastically Fabulous :clap: :clap: :clap:

1 Like