# Nepali Date Library > Universal, production-ready multi-language ecosystem for working with Nepali (Bikram Sambat / BS) dates. Supports NodeJS/TypeScript, Python, and PHP with unified APIs, zero dependencies, and annually audited calendar data verified up to the active year. ## Official Resources - Website: https://nepali-pkg.date - Date Converter Suite: https://nepali-pkg.date/converter - Nepali Calendar (Patro): https://nepali-pkg.date/calendar - Full Documentation: https://nepali-pkg.date/docs - Complete AI Reference: https://nepali-pkg.date/llms-full.txt - GitHub Organization: https://github.com/SandipGhimire/Nepali-Date ## Package Ecosystem & Installation - **NodeJS / TypeScript**: `npm install nepali-date-library` (npm: https://www.npmjs.com/package/nepali-date-library, GitHub: https://github.com/SandipGhimire/Nepali-Date-Library-NodeJS) - **Python**: `pip install nepali-date-library` (PyPI: https://pypi.org/project/nepali-date-library/, GitHub: https://github.com/SandipGhimire/Nepali-Date-Library-Python) - **PHP**: `composer require sghimire/nepali-date-library` (Packagist: https://packagist.org/packages/sghimire/nepali-date-library, GitHub: https://github.com/SandipGhimire/Nepali-Date-Library-PHP) ## Core Capabilities - **Bidirectional Date Conversion**: Convert Gregorian (AD) to Bikram Sambat (BS) and Bikram Sambat (BS) to Gregorian (AD). - **Calendar Range & Annual Audits**: Spans 1976/01/01 BS to 2100/12/31 BS (approx 1919-04-13 to 2044-04-12 AD). Dates up to the active year are verified against official Government of Nepal gazettes. Every year in Ashwin (Ashoj), mapping tables are updated with official solar ingress corrections upon release of the new calendar. - **Date Manipulation & Arithmetic**: Add or subtract days, months, and years with automatic edge-case handling for variable Nepali month lengths (29 to 32 days). - **Government of Nepal Fiscal Year**: Native support for Nepali fiscal years (Shrawan 1 to Ashadh end), fiscal quarters (Q1: Shrawan-Ashwin, Q2: Kartik-Poush, Q3: Magh-Chaitra, Q4: Baisakh-Ashadh). - **Formatting & Localization**: Flexible date format tokens (`YYYY-MM-DD`, `DD MMMM YYYY`, `dddd`, etc.) rendered in English and Devanagari numerals and script. - **Date Comparison & Queries**: Check `isBefore`, `isAfter`, `isSame`, `isLeapYear`, `startOfMonth`, `endOfMonth`, `startOfYear`, `endOfYear`. ## Common Search Keywords & Queries - **Date Converter**: Nepali date converter, Bikram Sambat date converter, BS to AD converter, AD to BS converter, English date to Nepali date, convert BS to AD, convert AD to BS. - **Nepali Date & Calendar**: Nepali date, Nepali date library, Bikram Sambat, Bikram Sambat calendar, BS date, BS calendar, Nepali calendar online, Nepali patro, Nepali miti, today Nepali date, aajako Nepali date, aajako miti. - **Calculators & Utilities**: Nepali age calculator, Nepali date difference calculator, Nepali date arithmetic, add days to Nepali date, Bikram Sambat leap year. - **Fiscal Year (Aarthik Barsha)**: Nepal Government fiscal year calculator, Shrawan to Ashadh fiscal year, fiscal quarters (Q1, Q2, Q3, Q4). - **SDKs & Package Managers**: `nepali-date-library` on npm (Node.js/TypeScript), `nepali-date-library` on PyPI (Python), `sghimire/nepali-date-library` on Packagist (PHP). ## Quick Start Code Recipes ### NodeJS / TypeScript ```typescript import { NepaliDate } from "nepali-date-library"; // Current Nepali date const today = new NepaliDate(); console.log(today.format("YYYY-MM-DD")); // e.g. 2081-06-29 // Convert AD to BS const bs = NepaliDate.fromAD(new Date("2024-10-15")); console.log(bs.format("DD MMMM YYYY")); // 29 Ashwin 2081 // Date manipulation bs.addDays(30); // Nepal Fiscal Year console.log(bs.getFiscalYear()); // 2081/82 ``` ### Python ```python from nepali_date_library import NepaliDate from datetime import date # Current Nepali date today = NepaliDate() print(today.format("YYYY-MM-DD")) # Convert AD to BS bs = NepaliDate.from_ad(date(2024, 10, 15)) print(bs.format("DD MMMM YYYY")) # Date manipulation bs.add_days(30) # Nepal Fiscal Year print(bs.get_fiscal_year()) # 2081/82 ``` ### PHP ```php use NepaliDateLibrary\NepaliDate; use DateTime; // Current Nepali date $today = new NepaliDate(); echo $today->format("YYYY-MM-DD"); // Convert AD to BS $bs = NepaliDate::fromAD(new DateTime("2024-10-15")); echo $bs->format("DD MMMM YYYY"); // Date manipulation $bs->addDays(30); // Nepal Fiscal Year echo $bs->getFiscalYear(); // 2081/82 ``` ## Key Documentation Sections - [Origination & Philosophy](https://nepali-pkg.date/docs/origination): Historical background of Bikram Sambat and why this library was built. - [Ecosystem Overview](https://nepali-pkg.date/docs/overview): Cross-platform feature parity across Node, Python, and PHP. - [Multi-Language Installation](https://nepali-pkg.date/docs/installation): Package managers and environment setup. - [Code Examples](https://nepali-pkg.date/docs/examples): Real-world workflows, form integrations, and date math. - [NodeJS Documentation](https://nepali-pkg.date/docs/nodejs): Complete TypeScript API reference and guides. - [Python Documentation](https://nepali-pkg.date/docs/python): Pythonic API reference and datetime interoperability. - [PHP Documentation](https://nepali-pkg.date/docs/php): Composer package reference and DateTime compatibility. - [Online Converter](https://nepali-pkg.date/converter): Interactive web tools for instant conversions and age calculation. - [Nepali Calendar (Patro)](https://nepali-pkg.date/calendar): Interactive Bikram Sambat monthly calendar with dual BS/AD dates. ## Complete Method Directory - [Contribution Guide](https://nepali-pkg.date/docs/contribution): Learn how to contribute to the Nepali Date Library ecosystem across Node.js, Python, PHP, and Documentation. - [Examples & Practical Recipes](https://nepali-pkg.date/docs/examples): Real-world patterns and cross-language code recipes for working with Nepali dates. - [Installation](https://nepali-pkg.date/docs/installation): Install Nepali Date Library in your project using your preferred package manager across Node.js, Python, or PHP. - [Overview (NodeJS)](https://nepali-pkg.date/docs/nodejs): [NodeJS] Complete documentation and feature guide for the Nepali Date Library in Node.js and TypeScript applications. Official API reference and code examples for NodeJS / TypeScript. - [new NepaliDate() (NodeJS)](https://nepali-pkg.date/docs/nodejs/class/constructor): [NodeJS] Constructor overloads and initialization options for creating NepaliDate instances in Node.js and TypeScript. Official API reference and code examples for NodeJS / TypeScript. - [Instance Properties (NodeJS)](https://nepali-pkg.date/docs/nodejs/class/properties): [NodeJS] Reference for public instance properties available on every NepaliDate object including year, month, day, and underlying timestamp. Official API reference and code examples for NodeJS / TypeScript. - [MONTH_EN (NodeJS)](https://nepali-pkg.date/docs/nodejs/constants/month-en): [NodeJS] Array containing standard romanized English names of all twelve Bikram Sambat calendar months. Official API reference and code examples for NodeJS / TypeScript. - [MONTH_NP (NodeJS)](https://nepali-pkg.date/docs/nodejs/constants/month-np): [NodeJS] Array containing official Devanagari Nepali names of all twelve Bikram Sambat calendar months. Official API reference and code examples for NodeJS / TypeScript. - [MONTH_SHORT_EN (NodeJS)](https://nepali-pkg.date/docs/nodejs/constants/month-short-en): [NodeJS] Array containing three letter abbreviated English names for all twelve Bikram Sambat months. Official API reference and code examples for NodeJS / TypeScript. - [MONTH_SHORT_NP (NodeJS)](https://nepali-pkg.date/docs/nodejs/constants/month-short-np): [NodeJS] Array containing abbreviated Devanagari Nepali names for all twelve Bikram Sambat calendar months. Official API reference and code examples for NodeJS / TypeScript. - [NEPALI_DATE_MAP (NodeJS)](https://nepali-pkg.date/docs/nodejs/constants/nepali-date-map): [NodeJS] Historical calendar mapping table storing verified day counts for every Bikram Sambat month between 1976 and 2100 BS. Official API reference and code examples for NodeJS / TypeScript. - [NUMBER_NP (NodeJS)](https://nepali-pkg.date/docs/nodejs/constants/number-np): [NodeJS] Array containing Devanagari numeral glyphs for digits zero through nine used for Nepali number localization. Official API reference and code examples for NodeJS / TypeScript. - [WEEK_EN (NodeJS)](https://nepali-pkg.date/docs/nodejs/constants/week-en): [NodeJS] Array containing full English names for all seven days of the week starting from Sunday. Official API reference and code examples for NodeJS / TypeScript. - [WEEK_NP (NodeJS)](https://nepali-pkg.date/docs/nodejs/constants/week-np): [NodeJS] Array containing full Devanagari Nepali names for all seven days of the week starting from Sunday. Official API reference and code examples for NodeJS / TypeScript. - [WEEK_SHORT_EN (NodeJS)](https://nepali-pkg.date/docs/nodejs/constants/week-short-en): [NodeJS] Array containing abbreviated English weekday names ordered from Sunday through Saturday. Official API reference and code examples for NodeJS / TypeScript. - [WEEK_SHORT_NP (NodeJS)](https://nepali-pkg.date/docs/nodejs/constants/week-short-np): [NodeJS] Array containing short Devanagari abbreviations for each day of the week starting from Sunday. Official API reference and code examples for NodeJS / TypeScript. - [Date Converter Guide (NodeJS)](https://nepali-pkg.date/docs/nodejs/date-converter): [NodeJS] Comprehensive guide to converting dates between Gregorian and Bikram Sambat calendar systems using standalone helper functions. Official API reference and code examples for NodeJS / TypeScript. - [ADtoBS() (NodeJS)](https://nepali-pkg.date/docs/nodejs/date-converter/ad-to-bs): [NodeJS] Pure helper function to convert Gregorian calendar date strings into Bikram Sambat date strings. Official API reference and code examples for NodeJS / TypeScript. - [BStoAD() (NodeJS)](https://nepali-pkg.date/docs/nodejs/date-converter/bs-to-ad): [NodeJS] Pure helper function to convert Bikram Sambat date strings into Gregorian calendar date strings. Official API reference and code examples for NodeJS / TypeScript. - [Fiscal Year & Quarters Guide (NodeJS)](https://nepali-pkg.date/docs/nodejs/fiscal-year): [NodeJS] Architecture and calculation rules for Nepal official fiscal year and quarterly trimester accounting cycles. Official API reference and code examples for NodeJS / TypeScript. - [Calendar Quarters (NodeJS)](https://nepali-pkg.date/docs/nodejs/fiscal-year/calendar-quarters): [NodeJS] Explanation of standard Bikram Sambat calendar quarters compared to government fiscal trimesters. Official API reference and code examples for NodeJS / TypeScript. - [NepaliDate.getCurrentFiscalYear() (NodeJS)](https://nepali-pkg.date/docs/nodejs/fiscal-year/get-current-fiscal-year): [NodeJS] Method to retrieve the formatted fiscal year string for a given NepaliDate instance. Official API reference and code examples for NodeJS / TypeScript. - [date.getCurrentFiscalYearQuarter() (NodeJS)](https://nepali-pkg.date/docs/nodejs/fiscal-year/get-current-fiscal-year-quarter): [NodeJS] Method to calculate the active fiscal trimester quarter number for a NepaliDate instance. Official API reference and code examples for NodeJS / TypeScript. - [date.getCurrentFiscalYearQuarterDates() (NodeJS)](https://nepali-pkg.date/docs/nodejs/fiscal-year/get-current-fiscal-year-quarter-dates): [NodeJS] Method to retrieve exact start and end boundary dates for the active fiscal quarter. Official API reference and code examples for NodeJS / TypeScript. - [NepaliDate.getFiscalYearQuarter() (NodeJS)](https://nepali-pkg.date/docs/nodejs/fiscal-year/get-fiscal-year-quarter): [NodeJS] Static method to determine the fiscal trimester number for any specified month index. Official API reference and code examples for NodeJS / TypeScript. - [NepaliDate.getFiscalYearQuarters() (NodeJS)](https://nepali-pkg.date/docs/nodejs/fiscal-year/get-fiscal-year-quarters): [NodeJS] Static utility returning all four fiscal trimesters with their constituent months and date ranges for a given year. Official API reference and code examples for NodeJS / TypeScript. - [Installation & Setup (NodeJS)](https://nepali-pkg.date/docs/nodejs/installation): [NodeJS] Installation and setup guide for the nepali date library in Node.js and TypeScript applications using standard package managers. Official API reference and code examples for NodeJS / TypeScript. - [date.addDays() (NodeJS)](https://nepali-pkg.date/docs/nodejs/methods/add-days): [NodeJS] Add or subtract a specified number of days to a NepaliDate instance with automatic month and year rollover. Official API reference and code examples for NodeJS / TypeScript. - [date.addMonths() (NodeJS)](https://nepali-pkg.date/docs/nodejs/methods/add-months): [NodeJS] Add or subtract months to a NepaliDate instance while adjusting for variable month lengths. Official API reference and code examples for NodeJS / TypeScript. - [date.addYears() (NodeJS)](https://nepali-pkg.date/docs/nodejs/methods/add-years): [NodeJS] Add or subtract years to a NepaliDate instance while preserving month and day values. Official API reference and code examples for NodeJS / TypeScript. - [date.clone() (NodeJS)](https://nepali-pkg.date/docs/nodejs/methods/clone): [NodeJS] Create an independent deep clone of an existing NepaliDate instance. Official API reference and code examples for NodeJS / TypeScript. - [date.daysInMonth() (NodeJS)](https://nepali-pkg.date/docs/nodejs/methods/days-in-month): [NodeJS] Retrieve the total number of days in the current or specified Bikram Sambat month. Official API reference and code examples for NodeJS / TypeScript. - [date.diff() (NodeJS)](https://nepali-pkg.date/docs/nodejs/methods/diff): [NodeJS] Calculate the chronological difference between two NepaliDate instances in specific time units. Official API reference and code examples for NodeJS / TypeScript. - [date.endOfDay() (NodeJS)](https://nepali-pkg.date/docs/nodejs/methods/end-of-day): [NodeJS] Return a new NepaliDate instance set to the final millisecond of the current day. Official API reference and code examples for NodeJS / TypeScript. - [date.endOfMonth() (NodeJS)](https://nepali-pkg.date/docs/nodejs/methods/end-of-month): [NodeJS] Return a new NepaliDate instance set to the final day of the current Bikram Sambat month. Official API reference and code examples for NodeJS / TypeScript. - [date.endOfWeek() (NodeJS)](https://nepali-pkg.date/docs/nodejs/methods/end-of-week): [NodeJS] Return a new NepaliDate instance set to the final day of the current week on Saturday. Official API reference and code examples for NodeJS / TypeScript. - [date.endOfYear() (NodeJS)](https://nepali-pkg.date/docs/nodejs/methods/end-of-year): [NodeJS] Return a new NepaliDate instance set to the final day of the Bikram Sambat year on the last day of Chaitra. Official API reference and code examples for NodeJS / TypeScript. - [date.format() (NodeJS)](https://nepali-pkg.date/docs/nodejs/methods/format): [NodeJS] Format a NepaliDate instance into a custom string using token patterns for English and Nepali output. Official API reference and code examples for NodeJS / TypeScript. - [date.getCurrentQuarter() (NodeJS)](https://nepali-pkg.date/docs/nodejs/methods/get-current-quarter): [NodeJS] Return the standard Bikram Sambat calendar quarter number from one to four for the current date. Official API reference and code examples for NodeJS / TypeScript. - [date.getDate() (NodeJS)](https://nepali-pkg.date/docs/nodejs/methods/get-date): [NodeJS] Retrieve the numeric day of the month from a NepaliDate instance. Official API reference and code examples for NodeJS / TypeScript. - [date.getDay() (NodeJS)](https://nepali-pkg.date/docs/nodejs/methods/get-day): [NodeJS] Retrieve the numeric day of the week index from zero for Sunday through six for Saturday. Official API reference and code examples for NodeJS / TypeScript. - [date.getEnglishDate() (NodeJS)](https://nepali-pkg.date/docs/nodejs/methods/get-english-date): [NodeJS] Retrieve the equivalent Gregorian date as a native JavaScript Date object. Official API reference and code examples for NodeJS / TypeScript. - [date.getHours() (NodeJS)](https://nepali-pkg.date/docs/nodejs/methods/get-hours): [NodeJS] Retrieve the hour component from zero to twenty three for the current date instance. Official API reference and code examples for NodeJS / TypeScript. - [date.getMilliseconds() (NodeJS)](https://nepali-pkg.date/docs/nodejs/methods/get-milliseconds): [NodeJS] Retrieve the millisecond component from zero to nine hundred ninety nine. Official API reference and code examples for NodeJS / TypeScript. - [date.getMinutes() (NodeJS)](https://nepali-pkg.date/docs/nodejs/methods/get-minutes): [NodeJS] Retrieve the minute component from zero to fifty nine for the current date instance. Official API reference and code examples for NodeJS / TypeScript. - [date.getMonth() (NodeJS)](https://nepali-pkg.date/docs/nodejs/methods/get-month): [NodeJS] Retrieve the zero based Bikram Sambat month index from zero for Baisakh to eleven for Chaitra. Official API reference and code examples for NodeJS / TypeScript. - [date.getSeconds() (NodeJS)](https://nepali-pkg.date/docs/nodejs/methods/get-seconds): [NodeJS] Retrieve the second component from zero to fifty nine for the current date instance. Official API reference and code examples for NodeJS / TypeScript. - [date.getTime() (NodeJS)](https://nepali-pkg.date/docs/nodejs/methods/get-time): [NodeJS] Retrieve the numeric timestamp in milliseconds since the Unix epoch. Official API reference and code examples for NodeJS / TypeScript. - [date.getWeeksInMonth() (NodeJS)](https://nepali-pkg.date/docs/nodejs/methods/get-weeks-in-month): [NodeJS] Calculate the number of calendar week rows required to render the current month in a grid. Official API reference and code examples for NodeJS / TypeScript. - [date.getYear() (NodeJS)](https://nepali-pkg.date/docs/nodejs/methods/get-year): [NodeJS] Retrieve the four digit Bikram Sambat year number from a NepaliDate instance. Official API reference and code examples for NodeJS / TypeScript. - [date.isAfter() (NodeJS)](https://nepali-pkg.date/docs/nodejs/methods/is-after): [NodeJS] Check whether the current date occurs chronologically after another specified date. Official API reference and code examples for NodeJS / TypeScript. - [date.isBefore() (NodeJS)](https://nepali-pkg.date/docs/nodejs/methods/is-before): [NodeJS] Check whether the current date occurs chronologically before another specified date. Official API reference and code examples for NodeJS / TypeScript. - [date.isEqual() (NodeJS)](https://nepali-pkg.date/docs/nodejs/methods/is-equal): [NodeJS] Check whether two date instances share the exact same calendar date coordinates regardless of time. Official API reference and code examples for NodeJS / TypeScript. - [date.isLeapYear() (NodeJS)](https://nepali-pkg.date/docs/nodejs/methods/is-leap-year): [NodeJS] Determine whether the current Bikram Sambat calendar year has three hundred sixty six or more days. Official API reference and code examples for NodeJS / TypeScript. - [date.isSame() (NodeJS)](https://nepali-pkg.date/docs/nodejs/methods/is-same): [NodeJS] Check whether two dates match across a specified granularity such as year, month, or day. Official API reference and code examples for NodeJS / TypeScript. - [date.isValid() (NodeJS)](https://nepali-pkg.date/docs/nodejs/methods/is-valid): [NodeJS] Validate whether the current NepaliDate instance represents a legitimate calendar date within supported bounds. Official API reference and code examples for NodeJS / TypeScript. - [date.parse() (NodeJS)](https://nepali-pkg.date/docs/nodejs/methods/parse): [NodeJS] Parse a formatted Bikram Sambat date string and update the current date instance in place. Official API reference and code examples for NodeJS / TypeScript. - [date.set() (NodeJS)](https://nepali-pkg.date/docs/nodejs/methods/set): [NodeJS] Set year, month, and day coordinates simultaneously on a NepaliDate instance. Official API reference and code examples for NodeJS / TypeScript. - [date.setDate() (NodeJS)](https://nepali-pkg.date/docs/nodejs/methods/set-date): [NodeJS] Set the day of the month on a NepaliDate instance and recalculate its timestamp. Official API reference and code examples for NodeJS / TypeScript. - [date.setMonth() (NodeJS)](https://nepali-pkg.date/docs/nodejs/methods/set-month): [NodeJS] Set the Bikram Sambat month index on a NepaliDate instance with automatic day clamping. Official API reference and code examples for NodeJS / TypeScript. - [date.setYear() (NodeJS)](https://nepali-pkg.date/docs/nodejs/methods/set-year): [NodeJS] Set the Bikram Sambat year on a NepaliDate instance within the supported calendar range. Official API reference and code examples for NodeJS / TypeScript. - [date.startOfDay() (NodeJS)](https://nepali-pkg.date/docs/nodejs/methods/start-of-day): [NodeJS] Return a new NepaliDate instance set to the first moment of the current day at midnight. Official API reference and code examples for NodeJS / TypeScript. - [date.startOfMonth() (NodeJS)](https://nepali-pkg.date/docs/nodejs/methods/start-of-month): [NodeJS] Return a new NepaliDate instance set to the first day of the current Bikram Sambat month. Official API reference and code examples for NodeJS / TypeScript. - [date.startOfWeek() (NodeJS)](https://nepali-pkg.date/docs/nodejs/methods/start-of-week): [NodeJS] Return a new NepaliDate instance set to the first day of the week on Sunday. Official API reference and code examples for NodeJS / TypeScript. - [date.startOfYear() (NodeJS)](https://nepali-pkg.date/docs/nodejs/methods/start-of-year): [NodeJS] Return a new NepaliDate instance set to the first day of the Bikram Sambat year on 1 Baisakh. Official API reference and code examples for NodeJS / TypeScript. - [date.toString() (NodeJS)](https://nepali-pkg.date/docs/nodejs/methods/to-string): [NodeJS] Return the default string representation of a NepaliDate instance in standard year, month, and day format. Official API reference and code examples for NodeJS / TypeScript. - [Quick Start (NodeJS)](https://nepali-pkg.date/docs/nodejs/quick-start): [NodeJS] Practical guide and essential code examples to start working with Bikram Sambat dates in Node.js and TypeScript. Official API reference and code examples for NodeJS / TypeScript. - [NepaliDate.getCalendarDays() (NodeJS)](https://nepali-pkg.date/docs/nodejs/static/get-calendar-days): [NodeJS] Static utility to generate a complete forty two cell calendar grid matrix for any month and year. Official API reference and code examples for NodeJS / TypeScript. - [NepaliDate.getDayName() (NodeJS)](https://nepali-pkg.date/docs/nodejs/static/get-day-name): [NodeJS] Static utility to retrieve the localized English or Nepali name for any day of the week index. Official API reference and code examples for NodeJS / TypeScript. - [NepaliDate.getMonthName() (NodeJS)](https://nepali-pkg.date/docs/nodejs/static/get-month-name): [NodeJS] Static utility to retrieve the localized English or Nepali month name for any month index. Official API reference and code examples for NodeJS / TypeScript. - [NepaliDate.isValid() (NodeJS)](https://nepali-pkg.date/docs/nodejs/static/is-valid): [NodeJS] Static validation function to verify whether a given year, month, and day combination forms a valid Bikram Sambat date. Official API reference and code examples for NodeJS / TypeScript. - [NepaliDate.maximum() (NodeJS)](https://nepali-pkg.date/docs/nodejs/static/maximum): [NodeJS] Static method returning the maximum supported date boundary for the NepaliDate calendar engine. Official API reference and code examples for NodeJS / TypeScript. - [NepaliDate.minimum() (NodeJS)](https://nepali-pkg.date/docs/nodejs/static/minimum): [NodeJS] Static method returning the minimum supported date boundary for the NepaliDate calendar engine. Official API reference and code examples for NodeJS / TypeScript. - [What is Nepali Date? (Origination & Calendar)](https://nepali-pkg.date/docs/origination): Deep dive into the origins, history, astronomical foundation, calendar mechanics, and timeline of Bikram Sambat (विक्रम संवत्). - [Project Overview](https://nepali-pkg.date/docs/overview): Comprehensive overview of the Nepali Date Library multi-language ecosystem, live package metrics, architecture, and developer profile. - [Overview (PHP)](https://nepali-pkg.date/docs/php): [PHP] Complete documentation and feature guide for the Nepali Date Library in PHP applications. Official API reference and code examples for PHP. - [new NepaliDate() (PHP)](https://nepali-pkg.date/docs/php/class/constructor): [PHP] Constructor overloads and initialization options for creating NepaliDate instances in PHP. Official API reference and code examples for PHP. - [Instance Properties & Getters (PHP)](https://nepali-pkg.date/docs/php/class/properties): [PHP] Guide to property encapsulation and public getters available on every NepaliDate instance in PHP. Official API reference and code examples for PHP. - [Constants::$MONTH_EN (PHP)](https://nepali-pkg.date/docs/php/constants/month-en): [PHP] Array containing standard romanized English names of all twelve Bikram Sambat calendar months. Official API reference and code examples for PHP. - [Constants::$MONTH_NP (PHP)](https://nepali-pkg.date/docs/php/constants/month-np): [PHP] Array containing official Devanagari Nepali names of all twelve Bikram Sambat calendar months. Official API reference and code examples for PHP. - [Constants::$MONTH_SHORT_EN (PHP)](https://nepali-pkg.date/docs/php/constants/month-short-en): [PHP] Array containing three letter abbreviated English names for all twelve Bikram Sambat months. Official API reference and code examples for PHP. - [Constants::$MONTH_SHORT_NP (PHP)](https://nepali-pkg.date/docs/php/constants/month-short-np): [PHP] Array containing abbreviated Devanagari Nepali names for all twelve Bikram Sambat calendar months. Official API reference and code examples for PHP. - [Constants::$NEPALI_DATE_MAP (PHP)](https://nepali-pkg.date/docs/php/constants/nepali-date-map): [PHP] Historical calendar mapping table storing verified day counts for every Bikram Sambat month between 1976 and 2100 BS. Official API reference and code examples for PHP. - [Constants::$NUMBER_NP (PHP)](https://nepali-pkg.date/docs/php/constants/number-np): [PHP] Array containing Devanagari numeral glyphs for digits zero through nine used for Nepali number localization. Official API reference and code examples for PHP. - [Constants::$WEEK_EN (PHP)](https://nepali-pkg.date/docs/php/constants/week-en): [PHP] Array containing full English names for all seven days of the week starting from Sunday. Official API reference and code examples for PHP. - [Constants::$WEEK_NP (PHP)](https://nepali-pkg.date/docs/php/constants/week-np): [PHP] Array containing full Devanagari Nepali names for all seven days of the week starting from Sunday. Official API reference and code examples for PHP. - [Constants::$WEEK_SHORT_EN (PHP)](https://nepali-pkg.date/docs/php/constants/week-short-en): [PHP] Array containing abbreviated English weekday names ordered from Sunday through Saturday. Official API reference and code examples for PHP. - [Constants::$WEEK_SHORT_NP (PHP)](https://nepali-pkg.date/docs/php/constants/week-short-np): [PHP] Array containing short Devanagari abbreviations for each day of the week starting from Sunday. Official API reference and code examples for PHP. - [Date Converter Guide (PHP)](https://nepali-pkg.date/docs/php/date-converter): [PHP] Comprehensive guide to converting dates between Gregorian and Bikram Sambat calendar systems using standalone helper functions. Official API reference and code examples for PHP. - [ADtoBS() (PHP)](https://nepali-pkg.date/docs/php/date-converter/ad-to-bs): [PHP] Pure helper function to convert Gregorian calendar date strings into Bikram Sambat date strings. Official API reference and code examples for PHP. - [BStoAD() (PHP)](https://nepali-pkg.date/docs/php/date-converter/bs-to-ad): [PHP] Pure helper function to convert Bikram Sambat date strings into Gregorian calendar date strings. Official API reference and code examples for PHP. - [Fiscal Year & Quarters Guide (PHP)](https://nepali-pkg.date/docs/php/fiscal-year): [PHP] Architecture and calculation rules for Nepal official fiscal year and quarterly trimester accounting cycles. Official API reference and code examples for PHP. - [Calendar Quarters (PHP)](https://nepali-pkg.date/docs/php/fiscal-year/calendar-quarters): [PHP] Explanation of standard Bikram Sambat calendar quarters compared to government fiscal trimesters. Official API reference and code examples for PHP. - [NepaliDate::getCurrentFiscalYear() (PHP)](https://nepali-pkg.date/docs/php/fiscal-year/get-current-fiscal-year): [PHP] Method to retrieve the formatted fiscal year string for a given NepaliDate instance. Official API reference and code examples for PHP. - [date->getCurrentFiscalYearQuarter() (PHP)](https://nepali-pkg.date/docs/php/fiscal-year/get-current-fiscal-year-quarter): [PHP] Method to calculate the active fiscal trimester quarter number for a NepaliDate instance. Official API reference and code examples for PHP. - [date->getCurrentFiscalYearQuarterDates() (PHP)](https://nepali-pkg.date/docs/php/fiscal-year/get-current-fiscal-year-quarter-dates): [PHP] Method to retrieve exact start and end boundary dates for the active fiscal quarter. Official API reference and code examples for PHP. - [NepaliDate::getFiscalYearQuarter() (PHP)](https://nepali-pkg.date/docs/php/fiscal-year/get-fiscal-year-quarter): [PHP] Static method to determine the fiscal trimester number for any specified month index. Official API reference and code examples for PHP. - [NepaliDate::getFiscalYearQuarters() (PHP)](https://nepali-pkg.date/docs/php/fiscal-year/get-fiscal-year-quarters): [PHP] Static utility returning all four fiscal trimesters with their constituent months and date ranges for a given year. Official API reference and code examples for PHP. - [Installation & Setup (PHP)](https://nepali-pkg.date/docs/php/installation): [PHP] Installation and setup instructions for nepali date library in PHP applications using Composer. Official API reference and code examples for PHP. - [date->addDays() (PHP)](https://nepali-pkg.date/docs/php/methods/add-days): [PHP] Add or subtract a specified number of days to a NepaliDate instance with automatic month and year rollover. Official API reference and code examples for PHP. - [date->addMonths() (PHP)](https://nepali-pkg.date/docs/php/methods/add-months): [PHP] Add or subtract months to a NepaliDate instance while adjusting for variable month lengths. Official API reference and code examples for PHP. - [date->addYears() (PHP)](https://nepali-pkg.date/docs/php/methods/add-years): [PHP] Add or subtract years to a NepaliDate instance while preserving month and day values. Official API reference and code examples for PHP. - [date->clone() (PHP)](https://nepali-pkg.date/docs/php/methods/clone): [PHP] Create an independent deep clone of an existing NepaliDate instance. Official API reference and code examples for PHP. - [date->daysInMonth() (PHP)](https://nepali-pkg.date/docs/php/methods/days-in-month): [PHP] Retrieve the total number of days in the current or specified Bikram Sambat month. Official API reference and code examples for PHP. - [date->diff() (PHP)](https://nepali-pkg.date/docs/php/methods/diff): [PHP] Calculate the chronological difference between two NepaliDate instances in specific time units. Official API reference and code examples for PHP. - [date->endOfDay() (PHP)](https://nepali-pkg.date/docs/php/methods/end-of-day): [PHP] Return a new NepaliDate instance set to the final millisecond of the current day. Official API reference and code examples for PHP. - [date->endOfMonth() (PHP)](https://nepali-pkg.date/docs/php/methods/end-of-month): [PHP] Return a new NepaliDate instance set to the final day of the current Bikram Sambat month. Official API reference and code examples for PHP. - [date->endOfWeek() (PHP)](https://nepali-pkg.date/docs/php/methods/end-of-week): [PHP] Return a new NepaliDate instance set to the final day of the current week on Saturday. Official API reference and code examples for PHP. - [date->endOfYear() (PHP)](https://nepali-pkg.date/docs/php/methods/end-of-year): [PHP] Return a new NepaliDate instance set to the final day of the Bikram Sambat year on the last day of Chaitra. Official API reference and code examples for PHP. - [date->format() (PHP)](https://nepali-pkg.date/docs/php/methods/format): [PHP] Format a NepaliDate instance into a custom string using token patterns for English and Nepali output. Official API reference and code examples for PHP. - [date->getCurrentQuarter() (PHP)](https://nepali-pkg.date/docs/php/methods/get-current-quarter): [PHP] Return the standard Bikram Sambat calendar quarter number from one to four for the current date. Official API reference and code examples for PHP. - [date->getDate() (PHP)](https://nepali-pkg.date/docs/php/methods/get-date): [PHP] Retrieve the numeric day of the month from a NepaliDate instance. Official API reference and code examples for PHP. - [date->getDay() (PHP)](https://nepali-pkg.date/docs/php/methods/get-day): [PHP] Retrieve the numeric day of the week index from zero for Sunday through six for Saturday. Official API reference and code examples for PHP. - [date->getEnglishDate() (PHP)](https://nepali-pkg.date/docs/php/methods/get-english-date): [PHP] Retrieve the equivalent Gregorian date as a native JavaScript Date object. Official API reference and code examples for PHP. - [date->getHours() (PHP)](https://nepali-pkg.date/docs/php/methods/get-hours): [PHP] Retrieve the hour component from zero to twenty three for the current date instance. Official API reference and code examples for PHP. - [date->getMilliseconds() (PHP)](https://nepali-pkg.date/docs/php/methods/get-milliseconds): [PHP] Retrieve the millisecond component from zero to nine hundred ninety nine. Official API reference and code examples for PHP. - [date->getMinutes() (PHP)](https://nepali-pkg.date/docs/php/methods/get-minutes): [PHP] Retrieve the minute component from zero to fifty nine for the current date instance. Official API reference and code examples for PHP. - [date->getMonth() (PHP)](https://nepali-pkg.date/docs/php/methods/get-month): [PHP] Retrieve the zero based Bikram Sambat month index from zero for Baisakh to eleven for Chaitra. Official API reference and code examples for PHP. - [date->getSeconds() (PHP)](https://nepali-pkg.date/docs/php/methods/get-seconds): [PHP] Retrieve the second component from zero to fifty nine for the current date instance. Official API reference and code examples for PHP. - [date->getTime() (PHP)](https://nepali-pkg.date/docs/php/methods/get-time): [PHP] Retrieve the numeric timestamp in milliseconds since the Unix epoch. Official API reference and code examples for PHP. - [date->getWeeksInMonth() (PHP)](https://nepali-pkg.date/docs/php/methods/get-weeks-in-month): [PHP] Calculate the number of calendar week rows required to render the current month in a grid. Official API reference and code examples for PHP. - [date->getYear() (PHP)](https://nepali-pkg.date/docs/php/methods/get-year): [PHP] Retrieve the four digit Bikram Sambat year number from a NepaliDate instance. Official API reference and code examples for PHP. - [date->isAfter() (PHP)](https://nepali-pkg.date/docs/php/methods/is-after): [PHP] Check whether the current date occurs chronologically after another specified date. Official API reference and code examples for PHP. - [date->isBefore() (PHP)](https://nepali-pkg.date/docs/php/methods/is-before): [PHP] Check whether the current date occurs chronologically before another specified date. Official API reference and code examples for PHP. - [date->isEqual() (PHP)](https://nepali-pkg.date/docs/php/methods/is-equal): [PHP] Check whether two date instances share the exact same calendar date coordinates regardless of time. Official API reference and code examples for PHP. - [date->isLeapYear() (PHP)](https://nepali-pkg.date/docs/php/methods/is-leap-year): [PHP] Determine whether the current Bikram Sambat calendar year has three hundred sixty six or more days. Official API reference and code examples for PHP. - [date->isSame() (PHP)](https://nepali-pkg.date/docs/php/methods/is-same): [PHP] Check whether two dates match across a specified granularity such as year, month, or day. Official API reference and code examples for PHP. - [date->isValidInstance() (PHP)](https://nepali-pkg.date/docs/php/methods/is-valid): [PHP] Validate whether the current NepaliDate instance represents a legitimate calendar date within supported bounds. Official API reference and code examples for PHP. - [date->parse() (PHP)](https://nepali-pkg.date/docs/php/methods/parse): [PHP] Parse a formatted Bikram Sambat date string and update the current date instance in place. Official API reference and code examples for PHP. - [date->set() (PHP)](https://nepali-pkg.date/docs/php/methods/set): [PHP] Set year, month, and day coordinates simultaneously on a NepaliDate instance. Official API reference and code examples for PHP. - [date->setDate() (PHP)](https://nepali-pkg.date/docs/php/methods/set-date): [PHP] Set the day of the month on a NepaliDate instance and recalculate its timestamp. Official API reference and code examples for PHP. - [date->setMonth() (PHP)](https://nepali-pkg.date/docs/php/methods/set-month): [PHP] Set the Bikram Sambat month index on a NepaliDate instance with automatic day clamping. Official API reference and code examples for PHP. - [date->setYear() (PHP)](https://nepali-pkg.date/docs/php/methods/set-year): [PHP] Set the Bikram Sambat year on a NepaliDate instance within the supported calendar range. Official API reference and code examples for PHP. - [date->startOfDay() (PHP)](https://nepali-pkg.date/docs/php/methods/start-of-day): [PHP] Return a new NepaliDate instance set to the first moment of the current day at midnight. Official API reference and code examples for PHP. - [date->startOfMonth() (PHP)](https://nepali-pkg.date/docs/php/methods/start-of-month): [PHP] Return a new NepaliDate instance set to the first day of the current Bikram Sambat month. Official API reference and code examples for PHP. - [date->startOfWeek() (PHP)](https://nepali-pkg.date/docs/php/methods/start-of-week): [PHP] Return a new NepaliDate instance set to the first day of the week on Sunday. Official API reference and code examples for PHP. - [date->startOfYear() (PHP)](https://nepali-pkg.date/docs/php/methods/start-of-year): [PHP] Return a new NepaliDate instance set to the first day of the Bikram Sambat year on 1 Baisakh. Official API reference and code examples for PHP. - [date->toString() (PHP)](https://nepali-pkg.date/docs/php/methods/to-string): [PHP] Return the default string representation of a NepaliDate instance in standard year, month, and day format. Official API reference and code examples for PHP. - [Quick Start (PHP)](https://nepali-pkg.date/docs/php/quick-start): [PHP] Practical guide and essential code examples to start working with Bikram Sambat dates in PHP. Official API reference and code examples for PHP. - [NepaliDate::getCalendarDays() (PHP)](https://nepali-pkg.date/docs/php/static/get-calendar-days): [PHP] Static utility to generate a complete forty two cell calendar grid matrix for any month and year. Official API reference and code examples for PHP. - [NepaliDate::getDayName() (PHP)](https://nepali-pkg.date/docs/php/static/get-day-name): [PHP] Static utility to retrieve the localized English or Nepali name for any day of the week index. Official API reference and code examples for PHP. - [NepaliDate::getMonthName() (PHP)](https://nepali-pkg.date/docs/php/static/get-month-name): [PHP] Static utility to retrieve the localized English or Nepali month name for any month index. Official API reference and code examples for PHP. - [NepaliDate::isValid() (PHP)](https://nepali-pkg.date/docs/php/static/is-valid): [PHP] Static validation function to verify whether a given year, month, and day combination forms a valid Bikram Sambat date. Official API reference and code examples for PHP. - [NepaliDate::maximum() (PHP)](https://nepali-pkg.date/docs/php/static/maximum): [PHP] Static method returning the maximum supported date boundary for the NepaliDate calendar engine. Official API reference and code examples for PHP. - [NepaliDate::minimum() (PHP)](https://nepali-pkg.date/docs/php/static/minimum): [PHP] Static method returning the minimum supported date boundary for the NepaliDate calendar engine. Official API reference and code examples for PHP. - [Overview (PYTHON)](https://nepali-pkg.date/docs/python): [PYTHON] Complete documentation and feature guide for the Nepali Date Library in Python applications. Official API reference and code examples for Python. - [NepaliDate() (PYTHON)](https://nepali-pkg.date/docs/python/class/constructor): [PYTHON] Constructor overloads and initialization options for creating NepaliDate instances in Python. Official API reference and code examples for Python. - [Instance Properties (PYTHON)](https://nepali-pkg.date/docs/python/class/properties): [PYTHON] Reference for public instance properties available on every NepaliDate object including year, month, day, and underlying timestamp. Official API reference and code examples for Python. - [month_en (PYTHON)](https://nepali-pkg.date/docs/python/constants/month-en): [PYTHON] Array containing standard romanized English names of all twelve Bikram Sambat calendar months. Official API reference and code examples for Python. - [month_np (PYTHON)](https://nepali-pkg.date/docs/python/constants/month-np): [PYTHON] Array containing official Devanagari Nepali names of all twelve Bikram Sambat calendar months. Official API reference and code examples for Python. - [month_short_en (PYTHON)](https://nepali-pkg.date/docs/python/constants/month-short-en): [PYTHON] Array containing three letter abbreviated English names for all twelve Bikram Sambat months. Official API reference and code examples for Python. - [month_short_np (PYTHON)](https://nepali-pkg.date/docs/python/constants/month-short-np): [PYTHON] Array containing abbreviated Devanagari Nepali names for all twelve Bikram Sambat calendar months. Official API reference and code examples for Python. - [nepali_date_map (PYTHON)](https://nepali-pkg.date/docs/python/constants/nepali-date-map): [PYTHON] Historical calendar mapping table storing verified day counts for every Bikram Sambat month between 1976 and 2100 BS. Official API reference and code examples for Python. - [number_np (PYTHON)](https://nepali-pkg.date/docs/python/constants/number-np): [PYTHON] Array containing Devanagari numeral glyphs for digits zero through nine used for Nepali number localization. Official API reference and code examples for Python. - [week_en (PYTHON)](https://nepali-pkg.date/docs/python/constants/week-en): [PYTHON] Array containing full English names for all seven days of the week starting from Sunday. Official API reference and code examples for Python. - [week_np (PYTHON)](https://nepali-pkg.date/docs/python/constants/week-np): [PYTHON] Array containing full Devanagari Nepali names for all seven days of the week starting from Sunday. Official API reference and code examples for Python. - [week_short_en (PYTHON)](https://nepali-pkg.date/docs/python/constants/week-short-en): [PYTHON] Array containing abbreviated English weekday names ordered from Sunday through Saturday. Official API reference and code examples for Python. - [week_short_np (PYTHON)](https://nepali-pkg.date/docs/python/constants/week-short-np): [PYTHON] Array containing short Devanagari abbreviations for each day of the week starting from Sunday. Official API reference and code examples for Python. - [Date Converter Guide (PYTHON)](https://nepali-pkg.date/docs/python/date-converter): [PYTHON] Comprehensive guide to converting dates between Gregorian and Bikram Sambat calendar systems using standalone helper functions. Official API reference and code examples for Python. - [ADtoBS() (PYTHON)](https://nepali-pkg.date/docs/python/date-converter/ad-to-bs): [PYTHON] Pure helper function to convert Gregorian calendar date strings into Bikram Sambat date strings. Official API reference and code examples for Python. - [BStoAD() (PYTHON)](https://nepali-pkg.date/docs/python/date-converter/bs-to-ad): [PYTHON] Pure helper function to convert Bikram Sambat date strings into Gregorian calendar date strings. Official API reference and code examples for Python. - [Fiscal Year & Quarters Guide (PYTHON)](https://nepali-pkg.date/docs/python/fiscal-year): [PYTHON] Architecture and calculation rules for Nepal official fiscal year and quarterly trimester accounting cycles. Official API reference and code examples for Python. - [Calendar Quarters (PYTHON)](https://nepali-pkg.date/docs/python/fiscal-year/calendar-quarters): [PYTHON] Explanation of standard Bikram Sambat calendar quarters compared to government fiscal trimesters. Official API reference and code examples for Python. - [NepaliDate.current_fiscal_year() (PYTHON)](https://nepali-pkg.date/docs/python/fiscal-year/current-fiscal-year): [PYTHON] Method to retrieve the formatted fiscal year string for a given NepaliDate instance. Official API reference and code examples for Python. - [date.fiscal_quarter() (PYTHON)](https://nepali-pkg.date/docs/python/fiscal-year/fiscal-quarter): [PYTHON] Method to calculate the active fiscal trimester quarter number for a NepaliDate instance. Official API reference and code examples for Python. - [date.fiscal_quarter_dates() (PYTHON)](https://nepali-pkg.date/docs/python/fiscal-year/fiscal-quarter-dates): [PYTHON] Method to retrieve exact start and end boundary dates for the active fiscal quarter. Official API reference and code examples for Python. - [NepaliDate.get_fiscal_quarter() (PYTHON)](https://nepali-pkg.date/docs/python/fiscal-year/get-fiscal-quarter): [PYTHON] Static method to determine the fiscal trimester number for any specified month index. Official API reference and code examples for Python. - [NepaliDate.get_fiscal_quarters() (PYTHON)](https://nepali-pkg.date/docs/python/fiscal-year/get-fiscal-quarters): [PYTHON] Static utility returning all four fiscal trimesters with their constituent months and date ranges for a given year. Official API reference and code examples for Python. - [Installation & Setup (PYTHON)](https://nepali-pkg.date/docs/python/installation): [PYTHON] Installation and setup instructions for nepali date library in Python projects using pip, uv, and poetry. Official API reference and code examples for Python. - [date.add_days() (PYTHON)](https://nepali-pkg.date/docs/python/methods/add-days): [PYTHON] Add or subtract a specified number of days to a NepaliDate instance with automatic month and year rollover. Official API reference and code examples for Python. - [date.add_months() (PYTHON)](https://nepali-pkg.date/docs/python/methods/add-months): [PYTHON] Add or subtract months to a NepaliDate instance while adjusting for variable month lengths. Official API reference and code examples for Python. - [date.add_years() (PYTHON)](https://nepali-pkg.date/docs/python/methods/add-years): [PYTHON] Add or subtract years to a NepaliDate instance while preserving month and day values. Official API reference and code examples for Python. - [date.clone() (PYTHON)](https://nepali-pkg.date/docs/python/methods/clone): [PYTHON] Create an independent deep clone of an existing NepaliDate instance. Official API reference and code examples for Python. - [date.current_quarter() (PYTHON)](https://nepali-pkg.date/docs/python/methods/current-quarter): [PYTHON] Return the standard Bikram Sambat calendar quarter number from one to four for the current date. Official API reference and code examples for Python. - [date.days_in_month() (PYTHON)](https://nepali-pkg.date/docs/python/methods/days-in-month): [PYTHON] Retrieve the total number of days in the current or specified Bikram Sambat month. Official API reference and code examples for Python. - [date.diff() (PYTHON)](https://nepali-pkg.date/docs/python/methods/diff): [PYTHON] Calculate the chronological difference between two NepaliDate instances in specific time units. Official API reference and code examples for Python. - [date.end_of_day() (PYTHON)](https://nepali-pkg.date/docs/python/methods/end-of-day): [PYTHON] Return a new NepaliDate instance set to the final millisecond of the current day. Official API reference and code examples for Python. - [date.end_of_month() (PYTHON)](https://nepali-pkg.date/docs/python/methods/end-of-month): [PYTHON] Return a new NepaliDate instance set to the final day of the current Bikram Sambat month. Official API reference and code examples for Python. - [date.end_of_week() (PYTHON)](https://nepali-pkg.date/docs/python/methods/end-of-week): [PYTHON] Return a new NepaliDate instance set to the final day of the current week on Saturday. Official API reference and code examples for Python. - [date.end_of_year() (PYTHON)](https://nepali-pkg.date/docs/python/methods/end-of-year): [PYTHON] Return a new NepaliDate instance set to the final day of the Bikram Sambat year on the last day of Chaitra. Official API reference and code examples for Python. - [date.format() (PYTHON)](https://nepali-pkg.date/docs/python/methods/format): [PYTHON] Format a NepaliDate instance into a custom string using token patterns for English and Nepali output. Official API reference and code examples for Python. - [date.get_date() (PYTHON)](https://nepali-pkg.date/docs/python/methods/get-date): [PYTHON] Retrieve the numeric day of the month from a NepaliDate instance. Official API reference and code examples for Python. - [date.get_day() (PYTHON)](https://nepali-pkg.date/docs/python/methods/get-day): [PYTHON] Retrieve the numeric day of the week index from zero for Sunday through six for Saturday. Official API reference and code examples for Python. - [date.get_english_date() (PYTHON)](https://nepali-pkg.date/docs/python/methods/get-english-date): [PYTHON] Retrieve the equivalent Gregorian date as a native JavaScript Date object. Official API reference and code examples for Python. - [date.get_hours() (PYTHON)](https://nepali-pkg.date/docs/python/methods/get-hours): [PYTHON] Retrieve the hour component from zero to twenty three for the current date instance. Official API reference and code examples for Python. - [date.get_milliseconds() (PYTHON)](https://nepali-pkg.date/docs/python/methods/get-milliseconds): [PYTHON] Retrieve the millisecond component from zero to nine hundred ninety nine. Official API reference and code examples for Python. - [date.get_minutes() (PYTHON)](https://nepali-pkg.date/docs/python/methods/get-minutes): [PYTHON] Retrieve the minute component from zero to fifty nine for the current date instance. Official API reference and code examples for Python. - [date.get_month() (PYTHON)](https://nepali-pkg.date/docs/python/methods/get-month): [PYTHON] Retrieve the zero based Bikram Sambat month index from zero for Baisakh to eleven for Chaitra. Official API reference and code examples for Python. - [date.get_seconds() (PYTHON)](https://nepali-pkg.date/docs/python/methods/get-seconds): [PYTHON] Retrieve the second component from zero to fifty nine for the current date instance. Official API reference and code examples for Python. - [date.get_time() (PYTHON)](https://nepali-pkg.date/docs/python/methods/get-time): [PYTHON] Retrieve the numeric timestamp in milliseconds since the Unix epoch. Official API reference and code examples for Python. - [date.get_weeks_in_month() (PYTHON)](https://nepali-pkg.date/docs/python/methods/get-weeks-in-month): [PYTHON] Calculate the number of calendar week rows required to render the current month in a grid. Official API reference and code examples for Python. - [date.get_year() (PYTHON)](https://nepali-pkg.date/docs/python/methods/get-year): [PYTHON] Retrieve the four digit Bikram Sambat year number from a NepaliDate instance. Official API reference and code examples for Python. - [date.is_after() (PYTHON)](https://nepali-pkg.date/docs/python/methods/is-after): [PYTHON] Check whether the current date occurs chronologically after another specified date. Official API reference and code examples for Python. - [date.is_before() (PYTHON)](https://nepali-pkg.date/docs/python/methods/is-before): [PYTHON] Check whether the current date occurs chronologically before another specified date. Official API reference and code examples for Python. - [date.is_equal() (PYTHON)](https://nepali-pkg.date/docs/python/methods/is-equal): [PYTHON] Check whether two date instances share the exact same calendar date coordinates regardless of time. Official API reference and code examples for Python. - [date.is_leap_year() (PYTHON)](https://nepali-pkg.date/docs/python/methods/is-leap-year): [PYTHON] Determine whether the current Bikram Sambat calendar year has three hundred sixty six or more days. Official API reference and code examples for Python. - [date.is_same() (PYTHON)](https://nepali-pkg.date/docs/python/methods/is-same): [PYTHON] Check whether two dates match across a specified granularity such as year, month, or day. Official API reference and code examples for Python. - [date.is_valid_instance() (PYTHON)](https://nepali-pkg.date/docs/python/methods/is-valid): [PYTHON] Validate whether the current NepaliDate instance represents a legitimate calendar date within supported bounds. Official API reference and code examples for Python. - [date.parse() (PYTHON)](https://nepali-pkg.date/docs/python/methods/parse): [PYTHON] Parse a formatted Bikram Sambat date string and update the current date instance in place. Official API reference and code examples for Python. - [date.set() (PYTHON)](https://nepali-pkg.date/docs/python/methods/set): [PYTHON] Set year, month, and day coordinates simultaneously on a NepaliDate instance. Official API reference and code examples for Python. - [date.set_date() (PYTHON)](https://nepali-pkg.date/docs/python/methods/set-date): [PYTHON] Set the day of the month on a NepaliDate instance and recalculate its timestamp. Official API reference and code examples for Python. - [date.set_english_date() (PYTHON)](https://nepali-pkg.date/docs/python/methods/set-english-date): [PYTHON] Update internal Bikram Sambat coordinates from a native Python datetime object. Official API reference and code examples for Python. - [date.set_month() (PYTHON)](https://nepali-pkg.date/docs/python/methods/set-month): [PYTHON] Set the Bikram Sambat month index on a NepaliDate instance with automatic day clamping. Official API reference and code examples for Python. - [date.set_year() (PYTHON)](https://nepali-pkg.date/docs/python/methods/set-year): [PYTHON] Set the Bikram Sambat year on a NepaliDate instance within the supported calendar range. Official API reference and code examples for Python. - [date.start_of_day() (PYTHON)](https://nepali-pkg.date/docs/python/methods/start-of-day): [PYTHON] Return a new NepaliDate instance set to the first moment of the current day at midnight. Official API reference and code examples for Python. - [date.start_of_month() (PYTHON)](https://nepali-pkg.date/docs/python/methods/start-of-month): [PYTHON] Return a new NepaliDate instance set to the first day of the current Bikram Sambat month. Official API reference and code examples for Python. - [date.start_of_week() (PYTHON)](https://nepali-pkg.date/docs/python/methods/start-of-week): [PYTHON] Return a new NepaliDate instance set to the first day of the week on Sunday. Official API reference and code examples for Python. - [date.start_of_year() (PYTHON)](https://nepali-pkg.date/docs/python/methods/start-of-year): [PYTHON] Return a new NepaliDate instance set to the first day of the Bikram Sambat year on 1 Baisakh. Official API reference and code examples for Python. - [Quick Start (PYTHON)](https://nepali-pkg.date/docs/python/quick-start): [PYTHON] Practical guide and essential code examples to start working with Bikram Sambat dates in Python. Official API reference and code examples for Python. - [NepaliDate.get_calendar_days() (PYTHON)](https://nepali-pkg.date/docs/python/static/get-calendar-days): [PYTHON] Static utility to generate a complete forty two cell calendar grid matrix for any month and year. Official API reference and code examples for Python. - [NepaliDate.get_day_name() (PYTHON)](https://nepali-pkg.date/docs/python/static/get-day-name): [PYTHON] Static utility to retrieve the localized English or Nepali name for any day of the week index. Official API reference and code examples for Python. - [NepaliDate.get_month_name() (PYTHON)](https://nepali-pkg.date/docs/python/static/get-month-name): [PYTHON] Static utility to retrieve the localized English or Nepali month name for any month index. Official API reference and code examples for Python. - [NepaliDate.is_valid() (PYTHON)](https://nepali-pkg.date/docs/python/static/is-valid): [PYTHON] Static validation function to verify whether a given year, month, and day combination forms a valid Bikram Sambat date. Official API reference and code examples for Python. - [NepaliDate.maximum() (PYTHON)](https://nepali-pkg.date/docs/python/static/maximum): [PYTHON] Static method returning the maximum supported date boundary for the NepaliDate calendar engine. Official API reference and code examples for Python. - [NepaliDate.minimum() (PYTHON)](https://nepali-pkg.date/docs/python/static/minimum): [PYTHON] Static method returning the minimum supported date boundary for the NepaliDate calendar engine. Official API reference and code examples for Python.