D This Python-based GUI application converts English dates (Gregorian calendar) into Nepali dates (Bikram Samwat). Built using tkinter and tkcalendar, it allows users to quickly perform date conversions and view a saved history of all past conversions.
This project is a Python-based GUI application designed to convert English dates (Gregorian calendar) into Nepali dates (Bikram Samwat) with ease and accuracy. It is built using the tkinter
library for the graphical interface and tkcalendar
for date selection, along with nepali_datetime
and bikram
modules for date conversion logic.
The application provides an intuitive, user-friendly interface where users can pick or enter an English date and instantly see the corresponding Nepali date. It is especially useful for students, professionals, and institutions in Nepal who frequently need to work with both date formats.
One of the key features is its automatic history management. Every date conversion performed by the user is automatically saved into a .txt
file using Python’s file handling capabilities. Users can view their past conversions at any time or clear the history with a single click, ensuring both convenience and privacy.
The software is lightweight, requiring minimal system resources, and does not depend on an internet connection for conversions. It supports cross-platform usage on any operating system where Python is installed.
Key Features:
Convert English dates to Nepali dates (Bikram Samwat) instantly.
Graphical User Interface (GUI) built with tkinter
for ease of use.
Date selection using tkcalendar
for fast and accurate input.
Automatic history saving in a .txt
file for reference.
View and clear conversion history directly from the app.
Offline functionality – works without internet.
Lightweight & portable – easy to run on any Python-enabled system.
Technical Details:
Programming Language: Python
Libraries Used:
tkinter
– for GUI design
tkcalendar
– for date picker functionality
nepali_datetime
– for date conversion logic
bikram
– for Bikram Samwat date handling
File Handling: Used for storing and managing conversion history in .txt
format
Installation:
Install dependencies:
pip install -r requirements.txt
Run the application:
python date_conversion.py
This tool is ideal for anyone who needs a reliable, offline, and easy-to-use English-to-Nepali date converter with the added benefit of conversion history tracking.