Hey guys,
I've searched and found several ways of doing this, but I am trying to see if there is a way to avoid doing this with a loop.
What I need to do, is autopopulate a textbox with next Friday's date. No matter what day I land on.
I know you can do this with a simple while loop and DayOfWeek, but I was hoping to find a much smaller solution, mainly because I'm interested in it.
Anyone have any ideas on another way to find the next say, Friday from any day of the week that doesn't involve a loop?
Thanks,
I've searched and found several ways of doing this, but I am trying to see if there is a way to avoid doing this with a loop.
What I need to do, is autopopulate a textbox with next Friday's date. No matter what day I land on.
I know you can do this with a simple while loop and DayOfWeek, but I was hoping to find a much smaller solution, mainly because I'm interested in it.
Anyone have any ideas on another way to find the next say, Friday from any day of the week that doesn't involve a loop?
Thanks,