Date Calculator calculates the number of days, weeks, months or work days between 2 dates. If the duration is given, one of the dates is calculated. The field that was changed first is calculated. For example, if you change the end date, then the start date and then change the duration, the end date is calculated. When the program first starts, the calculation order is; start date, end date then duration. Changing the units of the duration does not affect which field is calculated.
Press the start or end date to bring up a DatePicker to set that date. Press the Today button beside the start or end date to reset that date to today. Check the Lock check box beside the start or end date to prevent that date from being calculated.
Press the Duration number brings up a dialog box to input an integer duration. Non-integer duration are not allowed. Press the down arrow beside the Duration units brings up a dialog box which allows you to choose between days, weeks, months and work days. Press the + or – buttons to decrease or increase the duration number by 1.
By default, the start day is not included in the count. The end day is. This can be changed in the Settings or by pressing the StartDay is Not Included toggle button.
Press the Save Data button to save the dates, duration and other settings currently on the screen to memory.
Settings allow the Default Duration units to be used when the app starts to be set, which days of the week are work days and whether to use saved data when the app starts.
Does not work with dates prior to the year 1900 or after the year 2100 due a limitation of the Android date picker.
Download Date Calculator from Google Play
Download Date Calculator5 from Google Play
The current version of Date Calculator is 1.2.7. This version adds more choices for the date display format and fixes the black text on black background for Android 5 again.(Jan. 16/16).
Date Calculator is currently financed by Google AdMob advertisements.
Version 1.2.3 adds choices for the date display format and fixes the black text on black background for Android 5.(Nov. 1/15).
Version 1.1.9 fixed an exception caused by the save data button and removed the date picker dialog by Simon Vig.(Jul. 9/13).
Version 1.1.7 contained the date picker dialog from Simon Vig which I could not get to work after upgrading the SDK.(Jul. 5/13)
Version 1.1.6 adds a save data button to allow the user to set the data that the app starts with. The Home key on the phone does not clear the app from memory so if you use the Home key to close the app the saved data will not be used when the app is restarted.(Apr. 7/13).
Version 1.1.5. changes from week days to work days to support users around the world and adds the ability to choose which days of the week are work days. There is bug in the Jelly Beans Date Picker Dialog so the Date Picker Dialog is replaced with the Date Picker Dialog from Simon Vig Therkildsen at github.com/SimonVT (Jan. 18/13).
Version 1.1.4 adds a trap for NumberFormatException errors when typing the Duration and updates the screen layout for larger screens (Aug.22/12).
Version 1.1.1 adds Include Start Date and Default Duration units to Preferences (Apr.27/12)
Version 1.1.0 adds a button which opens a dialog box for the user to type in the duration
(integer only) (Feb.3/12).
Version 1.0.9 adds a trap for NumberFormatException errors when changing between portrait and landscape (Jan. 27/12).
Version 1.0.8 adds a trap for NumberFormatException errors from the plus and minus buttons (Jan. 13/12).
Version 1.0.7 was the first version released to the public (Dec. 4/11).
|January 11, 2012||NumberFormatException from plus and minus buttons||Error trap added in version 1.0.8 to change incorrectly formattted numbers to 0 (zero)||Google User|
|January 24, 2012||NumberFormatException when changing between portrait and landscape||Error trap added in version 1.0.9 to change incorrectly formatted numbers to 0 (zero)||Google User|
|February 1, 2012||Add the ability to type the duration instead of using the plus and minus buttons||Button added in version 1.1.0 to bring up a dialog box for the user to type the duration in (integer only).||Mark Lasby|
|March 5, 2012||Cannot input dates prior to the year 1900 or after the year 2100.||Cannot be resolved. This is a limitation of the Android DatePicker.||Google User|
|April 2, 2012||Add option to include or not include start date in calculation||Include Start Date added to Preferences in version 1.1.1||Glyn Garratt|
|April 19, 2012||Add option to change default duration units||Default Duration units added to Preferences in version 1.1.1||Ian Webb|
|July 2012||Add list of holidays to be excluded from calculations.||Google User|
|August 20, 2012||NumberFormatException when parsing a duration containing a comma, ie 10,213||Error trap added in version 1.1.4 to change incorrectly formatted numbers to 0 (zero)||Google User|
|August 23, 2012||Use Sunday only or Friday and Saturday as weekend days for calculating weekdays||Changed from weekdays to work days in version 1.1.5||Fernando Ossandon|
|October 18, 2012||Week and month are off by 1 if start date included||code fixed in version 1.1.4||Google User|
|March 29, 2013||Add ability to save and restore data between uses||Save Data button added and Restore Data added to Preferences in version 1.1.6||Karl Edelsten|
|July 5, 2013||Null Pointer Exception thrown by saved data button.||Exception trap fixed in version 1.1.7||Google User|
|July 6, 2013||Add options to support different date formats||Added in version 1.2.3||Alexander Bogdanovich|
|April 9, 2014||Add “Weekends” to duration list||Michael Higgins|
|April 16, 2015||Fix black text on black background for Android 5||Fixed in version 1.2.3||Matthew Vaughan, David York, Five Hens Farm|