NepaliFunctions v1.4.7
Summary
NepaliFunctions is a javascript utility aimed at easing basic
nepali functionalities. The utility provides a list of
functionalities that are mostly used in nepali websites and
applications.
Documentation
The link for the documentation is provided below:
Full Documentation
Installation
Download
Zip
The archive contains the core library and a demo of all the
functions.
- Unpack the archive
- Include the script nepaliFunctions.min.js in your page
- Start using the functions
Usage
Include the nepaliFunctions.min.js in your application, then you
are done.
<script src="nepaliFunctions.min.js type="text/javascript" charset="utf-8"></script>
Acceptable date formats:
Available Functions
- Get2DigitNo
- ParseDate
- ConvertToDateObject
- ConvertToDateFormat
- AD2BS
- BS2AD
- ConvertToUnicode
- ConvertToNumber
- NumberToWords
- NumberToWordsUnicode
- AD.GetCurrentDate
- AD.GetCurrentYear
- AD.GetCurrentMonth
- AD.GetCurrentDay
- AD.GetMonths
- AD.GetMonth
- AD.GetDays
- AD.GetDay
- AD.GetDaysShort
- AD.GetDayShort
- AD.GetDaysInMonth
- AD.DatesDiff
- AD.AddDays
- AD.GetFullDate
- AD.GetFullDay
- BS.ValidateDate
- BS.IsBetweenDates
- BS.GetCurrentDate
- BS.GetCurrentYear
- BS.GetCurrentMonth
- BS.GetCurrentDay
- BS.GetMonths
- BS.GetMonth
- BS.GetMonthsInUnicode
- BS.GetMonthInUnicode
- BS.GetFullDate
- BS.GetDaysUnicode
- BS.GetDayUnicode
- BS.GetDaysUnicodeShort
- BS.GetDayUnicodeShort
- BS.GetFullDay
- BS.GetFullDayInUnicode
- BS.GetDaysInMonth
- BS.DatesDiff
- BS.AddDays
- BS.IsEqualTo
- BS.IsGreaterThan
- BS.IsLessThan
- BS.IsGreaterThanOrEqualTo
- BS.IsLessThanOrEqualTo