in reply to add to localtime?
Cheers - L~R
Update follows:
my $saleend = get_time($in{'saleend'); my $salestart = get_time($in{'salestart'); # nasty sub hidden away sub get_time { my $input = shift; if ($input eq "always") { return time() + (365 * 24 * 60 * 60); } else { return time() + ($input * 24 * 60 * 60); }
Cheers - L~R
Update: Modified localtime to time
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: add to localtime?
by powerhouse (Friar) on Apr 26, 2003 at 21:34 UTC | |
by perlplexer (Hermit) on Apr 26, 2003 at 22:44 UTC | |
by powerhouse (Friar) on Apr 27, 2003 at 04:44 UTC |