in reply to Re: Current time as variable?
in thread Current time as variable?
You can take the resultant epoch seconds and split them out into hours and minutes using some basic math.my $start = time; #do your work/quiz/etc. my $end = time; my $time_taken = $end-$start; print "Quiz/Work/Etc... took".$time_taken." seconds\n";
|
|---|