lakers8175
IS-IT--Management
I have a query that i would like to return the next date for that number. 1 is Sun, 2 is Mon and so on. So if I have a 5, then I want to return the Date of the next Thursday Tomorrow, 062107.
6 would return 062207
7 would return 062307
1 would return 062407
2 would return 062507
3 would return 062607
4 would return today's date because today is 4(Wed)
I started by converting the number to a day name, but I'm not sure if thats the best way to handle this.
any help would be appreciated.
6 would return 062207
7 would return 062307
1 would return 062407
2 would return 062507
3 would return 062607
4 would return today's date because today is 4(Wed)
I started by converting the number to a day name, but I'm not sure if thats the best way to handle this.
any help would be appreciated.