my $mdyt = `date '+%m/%d/%Y %H:%M:%S'`; #### use POSIX; my $mdyt = strftime('+%m/%d/%Y %H:%M:%S', localtime(time));