You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#!/usr/bin/perl
|
|
use warnings;
|
|
|
|
my ($sec, $min, $hour, $day, $month, $year) = localtime();
|
|
print "The time is: $hour:$min.$sec \n";
|
|
$month++;
|
|
$year += 1900;
|
|
print "The date is: $year/$month/$day \n";
|