in reply to is today a friday
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: is today a friday
by baysbenj (Initiate) on Mar 10, 2006 at 19:12 UTC | |
by ikegami (Patriarch) on Mar 10, 2006 at 19:51 UTC | |
by kwaping (Priest) on Mar 10, 2006 at 19:49 UTC |