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

  • getMonthNames(language?: LanguageCode): string[]
Question? Give us feedback → (opens in a new tab)Edit this page
Static Methods
getMonthNames

getMonthNames(language?: LanguageCode): string[]

Returns an array of month names in the specified language (default is Nepali).

const monthNames = BikramSambat.getMonthNames() // Array of month names
getWeekdayNamesNavigating Dates

Bikram Sambat by Ask Buddie