Date Calculator

Download Date Calculator Date Calculator icon

Date Calculator

by: Mark Lasby | 7.8 167

7.8 Users



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.

Tags: duration field widget , duration datedate example , tutorial date calculator , day calculator in example , program code for calculator using number picker option , datepicker calc , date calc v.1.0 , codigo un picker date , calculator example books

Users review

from 167 reviews



Users activity


by Rohit



by Raymond