in reply to the next day's date

sub next_day { sleep 86400; return localtime(); }

Replies are listed 'Best First'.
Re: the next day's date
by Abigail-II (Bishop) on Aug 08, 2002 at 09:52 UTC
    But then you have to wait a day. It can be optimized:
    sub next_day { sleep 24 * 60 * 60; my $date = localtime; sleep -24 * 60 * 60; return $date; }
    Abigail