Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BHC - Business Hours Calculator Version 1.1.1 image

Purpose

BHC calculates elapsed business/production time between a start date/time and an end date/time. It excludes weekends and U.S. Federal Observed Holidays for the selected holiday year.

Current layout

  • Dark themed single-window interface
  • Auto-sized startup window so all panels and result tiles are visible
  • Settings panel:
    • Federal Observed Holidays
    • Production Hours
  • Calculator panel:
    • Start Date / Time
    • End Date / Time
    • Calculate and Clear buttons
    • Result tiles for Days, Hours, and Minutes also includes unfiltered total duration

Time entry (User MUST enter time in 24 hours format)

Use 24-hour HHMM format. Examples:

  • 0600 = 06:00 AM
  • 2200 = 10:00 PM
  • 2300 = 11:00 PM

Auto-correction:

  • 700 will automatically become 0700
  • Invalid times are not auto-corrected; they are rejected during calculation
  • Colons are also accepted and converted, for example 7:00 becomes 0700

Build instructions

  1. Install Python 3 on Windows.
  2. Extract this ZIP file.
  3. Double-click build.exe.bat.
  4. The executable should be created here: dist\BHC.exe

Files included

  • bhc.py
  • bhc_calendar.ico
  • build.exe.bat
  • README.txt

About

Based on my previous python script, this Windows GUI calculates "production hours" of a given event.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages