Addon:DateCalculator
![]() |
This is a Third-party Addon. Please use carefully on data that is backed up, and help make it better by reporting any comments or problems to the author, or issues to the bug tracker |
The Date Calculator Gramplet allows you to do date math to assess estimating dates and ages in genealogical records.
Enter at least one valid date for the Reference Date or Date Range field
- a valid Gramps date
and Date or offset +/-y or +/-y, m, d field which can be:
- a date
- a positive or negative number, representing years
- a positive or negative list of values, representing years, months, days Note that only a single leading negative sign is needed to indicate a negative tuple.
then click the Calculate button.
Note that at least one field must be a date.
Contents
Usage
Select the Date Calculator Gramplet from the Gramplet menu.
Enter the desired Reference Date or Date Range in the first entry field and Date or offset +/-y or +/-y, m, d in the second entry field and press the Calculate to see the calculation in the Result field.
Use the Copy button to copy the Result field to the clipboard.
Use the Clear button to start again.
Example usage
Assume that a headstone has only a date of death and age at death.
RANEY | ||
---|---|---|
MOTHER Wife of Died & 3Ds. Blessed are the dead who die in the Lord |
Source: Iowa Gravestone Photo Project |
FATHER Died & 7Ds I will behold thy face |
Enter a date in the first field using the following format ( YYYY-MM-DD ).
Reference Date or Date Range
Enter a starting date or an offset value (such as the date of the most recent birthday on a marriage license):
for the wife in the example gravestone, enter 14 Nov 1902
Date or offset +/-y or +/-y, m, d
a positive or negative list of values, representing years, months, days
Example for "Aged 73Yrs. 4Mo. & 3Ds.", use "- 73, 4, 3
"
Note that only a single leading negative sign is needed to indicate a negative tuple.
Result
Pressing the Calculate button returns calculated 1829-07-11
. When storing a date that's been calculated from a reference rather than a historical record, it is hard to be certain what methodology was used. So the results are an estimate. Annotate this by preceding the value with "calc abt"
![]() |
Initially, the Result field will contain the following usage hint: Enter an expression in the entries above and click Calculate. |