parsedate($hour.":".$min.":00") #### my $now = time; $now -= ($now % 60);