nepalipatrojs
Version:
A JavaScript library for Nepali date conversion and calendar utilities
9 lines • 447 B
TypeScript
import { NepaliDate } from '../types';
/**
* Converts a Bikram Sambat (BS) date to Gregorian (AD) date
* @param bsDate BS date to convert, can be a NepaliDate object or [year, month, day] array
* @returns JavaScript Date object representing the equivalent AD date
* @throws Error if date is invalid or out of supported range
*/
export declare function convertBSToAD(bsDate: NepaliDate | number[]): Date;
//# sourceMappingURL=bs-to-ad.d.ts.map