Supported relatve number of days

Support from the original code for supplying dates is dropped and
implemented support for relative number of days.