Various of the date/time modules on CPAN do that trick including the "kitchen sink" module Date::Manip. For example:
use Date::Manip; print UnixDate (ParseDate ('next monday'), '%c');
Prints:
Mon Apr 16 00:00:00 2007
In reply to Re: Calculate the nearest day
by GrandFather
in thread Calculate the nearest day
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |