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

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

Working with Dates

The BikramSambat class provides methods for retrieving and modifying the year, month, and day components of the date.

PropertiesgetDay

Bikram Sambat by Ask Buddie