You should check out the localtime() function in Perl. That way you can be sure of what you are sending to your program.
perldoc -f localtime -----Original Message----- From: Larry Guest [mailto:[EMAIL PROTECTED] Sent: Thursday, January 22, 2004 5:07 PM To: 'Perl Beginners Mailing List' Subject: Date and Time I can get the format I want like this. my $date = `date +%m-%d-%Y_%H-%M-%S`; -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>