Date Calculator

This application is a date calculator aimed primarily for use by lawyers and other professionals that require quick calculation of deadlines. Its purpose is to make it easy to calculate how many days there are between two given dates, or to add or subtract a certain number of days from a given date. For example, working out the number of days between two dates to calculate an interest charge, or when a court filing date is due. It has a number of unique features that are essential for lawyers and other professionals.

Features

  • Determine the number of days between two dates
  • Add or subtract a number of days to or from a date
  • Perform calculations based on working days only
  • Perform calculations inclusive of start/end dates
  • Specify holidays based on a fixed date, relative dates, or lunar dependent dates
  • Save different sets of holidays as templates, useful for easily calculating dates based on different criteria
  • View the holidays for the current holiday set for different years
  • View the analysis of working days for each calculation
  • Create a PDF report for a calculation for filing purposes

License

Date Calculator is licensed under the GPLv2 license.

Dependencies

There are no dependencies for the Windows version.

The Linux version requires pyqt4. This should be available in your distribution’s repositories.

Installation

Linux Version

Download the tar.bz2 file below. Extract the file and change to the directory created with the following commands:

tar -jxpf date_calc_<version>.tar.bz2
cd date_calculator

To run the application, type ./date_calc_4.py. Alternatively, you could put a symlink to date_calc_4.py in a directory in your path:

ln -s /path/to/date_calculator/date_calc_4.py /usr/local/bin/date_calc

You should then be able to run Date Calculator by typing date_calc.

Windows Version

Download the setup.exe file below. Double click, click “Next, Next, Next etc”; done

If you come across this error when running it:

This application has failed to start because the application configuration is incorrect.

You will need to install the Microsoft Visual C++ runtime (not sure why, but there it is). You can get it here.

Screenshots

Roadmap

  • Set a range of dates as holidays
  • Load templates for holidays for particular purposes
  • Improve GUI

Downloads

If you use this application in your business, or simply find it useful, please make a donation to help with the ongoing maintenance and development of this application.


Linux/Source:

Version 1.0

Windows:

Version 1.0

  • #1 written by Mikey
    about 1 month ago

    I can install and use your program fine. Its great! but when I close it I get an error message “date_calc_4.exe has encountered a problem and needs to close”. any help would be great.

    • #2 written by admin
      about 1 month ago

      Is this on Windows or Linux?

    • #3 written by Name (required)
      about 2 days ago

      I receive the same error message. I’m using windows version.

      • #4 written by admin
        about 1 day ago

        I’ll check this out

  • #5 written by John
    about 1 month ago

    Hello,
    I am very impressed with your program. I am a printer working on a project for a client in California. I am not sure if it is feasible or not but I am looking for a program (windows) that will allow me put in a starting date and provide me with a report that will go up two years from that date with variable (my choice) intervals 1 week, 2 weeks, 6 months, 1 year, 2 years etc that will allow for removing weekends and holidays and tell me the dates on one sheet for that specific date. I would be willing to pay for this modification (if possible). Is this something that you might be able to provide?
    Thanks- John

    • #6 written by admin
      about 1 month ago

      I should be able to provide it. Can you explain it a little better. Do you want a report that shows the date at each (user selected) interval for a period, excluding weekends and holidays?

  • #7 written by John
    about 1 month ago

    Thanks,
    I will give it a shot. This would be a one page example:

    january 2, 2009

    1 week 1-9-2009
    2 weeks 1-16-2009
    3 Weeks 1-23-2009
    4 Weeks 1-30-2009

    1 month 2-2 2009
    2 months 3-2-2009
    also 3- 10 months

    1 year 1-4-2010
    2 years 1-3-2010

    10 days 1-12-2009
    Also- 20, 30, 45, 60, 90, 120, 160, 180

    This will be used for a quick reference daily calendar. Weekends and Holidays will not be included. It would be only text. It would be great if there were a way to save the information to pdf files.
    Thanks!

No trackbacks yet.