Hi
hoping someone can help me figure out how to do a date insert into a table.
I need the date to be NOW + 7 working days (mon to fri) days but the time to be 09:00 am, as it is a legal notice we issue that expires on that date and time so the time is importnat.
If it's Saturday (day 6) 10 days need adding (7 days plus Sunday and following weekend = total 10 days)
Thur and Fri (4-5) it needs 11 (7 days plus it will span two full weekends)
Sun to Wed (0-3) will add just 9 days (7 days plus one full weekend)
@bpj you gotta to be kidding me!
I've been using SELECT DAYOFWEEK(:P1) all this time!
Plus, in the past I used to have a separated table with the week days of specific dates..