For AI Coders & ChatGPT Users
Looking for ready-to-use AD to BS conversion code? Check out our comprehensive code examples page with JavaScript, Python, PHP snippets and iframe embed codes!
Live Demo
See the API in action with these live examples
BS to AD Conversion
GET /api/bs-to-ad/2080/1/1
AD to BS Conversion
GET /api/ad-to-bs/2023/4/14
Key Features
Real-time Conversion
Instant and accurate date conversion between BS and AD calendars with millisecond response times.
Reliable & Accurate
Based on official Nepal calendar standards with extensive validation and error handling.
Developer Friendly
RESTful API with JSON responses, comprehensive documentation, and easy integration.
Mobile Responsive
Works seamlessly across all devices with responsive design and touch-friendly interface.
Conversion History
Keep track of your recent conversions with built-in history functionality.
CORS Enabled
Cross-origin requests supported for easy integration into web applications.
Popular Searches
Find what you're looking for with these common date conversion searches:
This Date in BS
Convert any Gregorian date to Bikram Sambat format
This Date in AD
Convert any Bikram Sambat date to Gregorian format
Today Nepali Date
Find today's date in Nepali Bikram Sambat calendar
Nepali Date Convertor
Full-featured online Nepali date conversion tool
BS to AD Converter
Quick Bikram Sambat to Gregorian date conversion
AD to BS Converter
Fast Gregorian to Bikram Sambat date conversion
Nepali Date Conversion Made Easy
Whether you're looking for "nepali date converter", "nepali date convertor", "BS to AD", "AD to BS", "this date in AD", or "this date in BS" - our tool handles all your Nepali calendar conversion needs.
Convert today's nepali date, find this date in bikram sambat, or discover what is this date in nepali calendar. Our converter supports both directions: English to Nepali date and Nepali to English date conversion.
API Overview
Base URL
https://sudhanparajuli.com.np/api/
Main Endpoints
Convert Bikram Sambat date to Gregorian date
Convert Gregorian date to Bikram Sambat date
Convert dates using JSON payload
Quick Start Guide
Choose Your Method
Use GET requests for simple conversions or POST for batch operations
// Simple GET request
fetch('https://sudhanparajuli.com.np/api/bs-to-ad/2080/1/1')
.then(response => response.json())
.then(data => console.log(data));
Handle the Response
Parse the JSON response to get your converted date
// Response format
{
"success": true,
"input": {"year": 2080, "month": 1, "day": 1, "type": "BS"},
"result": {"year": 2023, "month": 4, "day": 14, "type": "AD"}
}
Integrate Into Your App
Use the converted date in your application logic
// Display formatted date
const formatDate = (dateObj) => {
return `${dateObj.day}/${dateObj.month}/${dateObj.year}`;
};
console.log(formatDate(data.result)); // 14/4/2023
Calendar Information
Bikram Sambat (BS)
- Origin: Nepal's official calendar
- System: Lunar-solar calendar
- New Year: Mid-April (Baishak 1)
- Months: 12 months (29-32 days each)
- Year Difference: ~56.7 years ahead of AD
- Current Era: Started from 57 BCE
Gregorian Calendar (AD)
- Origin: International standard
- System: Solar calendar
- New Year: January 1st
- Months: 12 months (28-31 days each)
- Leap Year: Every 4 years (with exceptions)
- Current Era: Started from 1 CE