I am looking for a sample in C to get the result date when input of number of days and a date is given .
inputs are date_t end_date, int days=7
is given
I should get a date_t start_date
which is 7 days before than end_date
value
I am looking for a sample in C to get the result date when input of number of days and a date is given .
inputs are date_t end_date, int days=7
is given
I should get a date_t start_date
which is 7 days before than end_date
value