Bikram Sambat
Contact ↗Contact ↗ (opens in a new tab)
GitHubGitHub (opens in a new tab)DiscordDiscord (opens in a new tab)
  • About
  • Introduction
  • Table of contents
  • Initialization
    • Initializing with a Date String
    • Initializing with Another BikramSambat Instance
    • Default Initialization
  • Constructor
  • Properties
  • Working with Dates
    • getDay
    • getMonth
    • getYear
    • setDay
    • setMonth
    • setYear
  • Formating Dates
    • format
    • toString
  • Comparing Dates
    • isAfter
    • isBefore
    • isSameDay
    • isSameMonth
    • isSameWeek
    • isSameYear
  • Fetching Relative Dates
    • getPreviousDay
    • getNextDay
    • getWeekStartDate
    • getWeekEndDate
    • startOfMonth
    • endOfMonth
  • Static Methods
    • toAD
    • fromAD
    • getWeekdayNames
    • getMonthNames
  • Navigating Dates
    • getNextYear
    • getPreviousYear
    • toAD
    • addYears
    • addMonths
    • addDays
    • getDaysInMonth
    • isLeapYear
    • getDayOfWeek
    • getPreviousMonth
    • getNextMonth

On This Page

  • Introduction
Question? Give us feedback → (opens in a new tab)Edit this page
Introduction

Introduction

The BikramSambat class encapsulates a variety of functionalities for manipulating and working with dates in the Bikram Sambat calendar. It provides methods for converting dates between the Bikram Sambat and Gregorian calendars, performing date arithmetic, formatting dates, and more. The following sections detail the class's features and provide usage examples for each method.

AboutTable of contents

Bikram Sambat by Ask Buddie