localtime can receive an argument, which is the number of seconds since epoch. You can get today's time with time function, and then add the time needed in seconds (i.e. tomorrow will be time() + 24 * 60 * 60 * $days, where $days will be 1, and so).
I think it's enough for starting. You can also check Date::Manip, Date::Calc and others.
Good luck!
Igor 'izut' Sutton
your code, your rules.
In reply to Re: is today a friday
by izut
in thread is today a friday
by baysbenj
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |