Your writing confused "nearest" and "next" ...until your parenthetical explantion in the paragraph after the code. A little clarity in your exposition would be a big help ...probably even more so for you than to those trying to help.
What's the nearest Saturday, if today is Saturday. Why, it's today, not next Saturday, which is a full 7 days away. And if it's Sunday, the nearest Sat is the one just past.
In reply to Re: How for the current date return nearest saturday
by ww
in thread How for the current date return nearest saturday
by ppapro
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |