in reply to Re^5: Yesterday Date
in thread Yesterday Date
If you start on a Monday, that'll give you the Saturday. That's why a loop was used.
If you start on a day other than Sunday or Monday, it won't print anything. That's why the print was outside the loop.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^7: Yesterday Date
by Anonymous Monk on Feb 05, 2008 at 13:15 UTC | |
by ikegami (Patriarch) on Feb 05, 2008 at 17:51 UTC |