Hi
I'm working on an admin where orders are delivered on tuesdays and thursdays of each week
I'd like to be able to do the following :
1)when the order is made -
get the dates of all tuesdays and thursdays in the 30 days after date() and enter the date of the day selected by the client into the db - then i could select all orders to be delivered on a given tuesday or thursday
is there a simple way of doing this ?
would i need to use a loop with date("w") to get the day-of-the-week number and then somehow get the date from that ?
I've been looking at strftime(), date(), mktime etc in the manual but i just can't figure out the best way of doing this 😕
thanks for any pointers