in reply to Date Manipulation Calculation Question

@_ = localtime(time()-900); my $RunDateTime = ($_[5]+1900).sprintf('%02d%02d%02d%02d%02d',($_[4]+1 +),$_[3],$_[2],$_[1],$_[0]);
This does what you want, but without the overhead of using a module or calling the system through ` `.