Hi, I'm fairly new to Ruby and need to get a date
Basically I need to get the next wednesday stored in a date variable..
If today is wednesday then it would store today, otherwise it would keep going to the next day until it was wednesday...
I tried a few little things using cwday which is part of the date class but couldnt get it to work, not sure if i'm just messing up syntax or what..
Thanks for any help..
Netooi
Basically I need to get the next wednesday stored in a date variable..
If today is wednesday then it would store today, otherwise it would keep going to the next day until it was wednesday...
I tried a few little things using cwday which is part of the date class but couldnt get it to work, not sure if i'm just messing up syntax or what..
Thanks for any help..
Netooi