in reply to Calling Windows "time /t" command

Hello, It's not the answer to your question - but rather than using an external command to get time, why not use the localtime() function? Something like this might work nicely for you:
use strict; my $now = scalar(localtime); print "It is $now\n";
Update: Argh - beaten to the punch by several other good posts!