#===============================================================
# get the current date,
# format is: YYYY-MM-DD HH(24):MM:SS
#===============================================================
sub getcurrdate
{
my ($sec, $min, $hour, $mday, $mon, $year, $wday, $yday, $time) = localtime();
my $date;
请发表评论