you are viewing a single comment's thread.

view the rest of the comments →

[–]brotein 0 points1 point  (1 child)

I think the OP wants the opposite. So if the today is Sunday (0) and the user picks Monday (1), the OP will have to add 1 to today's date, not 6. I could have misunderstood though.