Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
[b]#!/usr/bin/perl[/b]
($seconds, $minutes, $hour, $dayOfMonth, $month, $year, $dayOfWeek, $dayOfYear) = localtime(32400);
$hour--;
print "$hour:$minutes:$seconds\n";
[b]#!/usr/bin/perl[/b]
@seconds = qw(32400 45000 31400 3600 22000 5500);
foreach $timeInSeconds (@seconds) {
($seconds, $minutes, $hour, $dayOfMonth, $month, $year, $dayOfWeek, $dayOfYear) = localtime($timeInSeconds);
$hour--;
print "$hour:$minutes:$seconds\n";
}
[blue]9:0:0
12:30:0
8:43:20
1:0:0
6:15:0
1:31:40
[/blue]
$t = 32400
$h = int($t/3600);
$m = int(($t % %h)/60);
$s = $m % 60;
printf("%.2d:%.2d:%.2d\n", $h, $m , $s);
$t = 32400[red];[/red]
$h = int($t/3600);
$m = int(($t % [red]($h*3600)[/red])/60);
$s = [red]$t[/red] % 60;
printf("%.2d:%.2d:%.2d\n", $h, $m , $s);