function tag ($anzahl) { $sekunden = 3600 * 24 * $anzahl; return $sekunden; } $x = tag(7); echo "7 Tage bestehen aus $x Sekunden !";