I am trying to create a due date based on the day of the week, but I’m having a hard time making it workout. In my database I have a data field named completion date that I need to add a certain amount of days to create a date for another field called due date.
The amount of days added is based on the day of the week (completion date), if the day is Monday I will add 15 days, if the day is Tuesday I will add 14 days and so on until Sunday where 9 days will be added.
When I use the extract day feature it doesn’t seem to work because the new date for the due date field is not created in the database and Sunday has a number of 0 for the extract day instead of 7th day