Use local dates in calculations (lib)