Date Converter

Standalone civil BS date conversion for ad hoc checking. This page uses the isolated converter module and does not call the existing saṅkrānti-based converter.

BS to AD

Convert a civil Bikram Sambat date to Gregorian.

AD to BS

Convert a Gregorian date to civil Bikram Sambat.

BS Month Window

Inspect the Gregorian span for a civil BS month.

Ad Hoc CLI

./venv/bin/python - <<'PY'
from jyotisha.core.date_converter import (
    convert_bs_to_ad_civil,
    convert_ad_to_bs_civil,
    get_bs_month_window_civil,
)

print(convert_bs_to_ad_civil(2082, 7, 1))
print(convert_ad_to_bs_civil(2025, 10, 18))
print(get_bs_month_window_civil(2082, 7))
PY