in reply to Re: Finding the dates for the reminder mail system
in thread Finding the dates for the reminder mail system
the code for finding the last wednesday or friday does not work for the following scenario
due_date = Dec 15 2008 (Monday) Today_date = Dec 12 2008 (Friday) $delta = 3 $days_to_wed = 2, $days_to_fri = 4 $days_to_next = 2 $delta > 0 but $delta is not <= $days_to_next.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Finding the dates for the reminder mail system
by ikegami (Patriarch) on Nov 09, 2008 at 15:27 UTC |