($Second, $Minute, $Hour, $Day, $Month, $Year, $WeekDay, $DayOfYear, $IsDST) = localtime(time); $Year += 1900; $Month++; $date = "$Month-$Day-$Year"; $command = "zip -r ./backup/$date.zip ./public_html"; system($command);