I can get date but not time. use Time::localtime; $tm = localtime; printf("Current date: %04d-%02d-%02d\n",$tm->year+1900,($tm->mon)+1, $tm->mday); printf("Current time: %02d:%02d:%02d\n",$tm->hours,$tm->min,$tm->sec);
Any help would be appreciated. DA -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>