I have tried running this on command prompt but its not working. Can someone please assist me in this? Thanks Ethen . . . . Thanks a lot for your assistance :-) God bless!!! Cheers!! Ethen#! usr/bin/perl -w $logfilename = "logfileLOV"; $dateAndtime = `date`; $dateAndtime =~ tr// /; $logfilename = $logfilename. "_" .$dateAndtime; print "$logfilename\n";
In reply to How to get the current Date and Time using Perl on windows? by Ethen
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |