in reply to Calculate date with days
use Data::Dumper; use strict; use warnings; my $offset = 3; print Dumper(localtime(time())); print "\n"; print Dumper(localtime(time() + 24 * 3600 * $offset));
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Calculate date with days
by darrengan (Sexton) on Aug 24, 2005 at 05:13 UTC | |
by pg (Canon) on Aug 24, 2005 at 05:42 UTC | |
by sk (Curate) on Aug 24, 2005 at 05:20 UTC |