auxmoney - Geld leihen für das Studiumauxmoney - Geld leihen für das Studium

auxmoney - Geld leihen für den Umzugauxmoney - Geld leihen für den Umzug

Download-Zeiten berechnen

Download-Zeiten berechnen

Berechnet die (theoretische) Zeit, die man für einen Download mit verschiedenen Modems bzw. ISDN-Karten braucht

Datei-Größe: Dauer des Downloads
Modems- / ISDN- / DSL-Geschwindigkeit Stunden Minuten Sekunden
9.6 K
14.4 K
28.8 K
56 K
ISDN (64 K)
ISDN (128 K)
DSL (1024 K)
DSL (2,4 MB)
DSL (4,8 MB)
DSL (6 MB)
Cable (10 MB)
Cable (20 MB)

Sourcecode:

<head>

<script type="text/javascript" language="JavaScript">

function MakeArray(n) {
this.length = n;
for (var i = 1; i <= n; i++) { 
this[i] = 0 }
return this
}
speedVar = new MakeArray(12);
speedVar[1] = "1.1719"
speedVar[2] = "1.75785"
speedVar[3] = "3.5157"
speedVar[4] = "6.836"
speedVar[5] = "7.81266"
speedVar[6] = "15.6253"
speedVar[7] = "125.0026"
speedVar[8] = "250.0053"
speedVar[9] = "500.01066"
speedVar[10] = "750.016"
speedVar[11] = "1248.96"
speedVar[12] = "2500.0533"

function compute(form, mult){
for (i=1; i < 13; i++){
if (form.size.value==null||form.size.value.length==0){
form.size.value=0;}
if (form[i+"hour"].value==null||form[i+"hour"].value.length==0){
form[i+"hour"].value=0;}       
if (form[i+"minute"].value==null||form[i+"minute"].value.length==0){
form[i+"minute"].value=0;}
if (form[i+"second"].value==null||form[i+"second"].value.length==0){
form[i+"second"].value=0;}
if (mult != 0 && form.size.value != 0){
with (Math){
var speed = speedVar[i];
var TotalTime = ((form.size.value*mult)/speed);
var TotalHours = floor((TotalTime/3600));
var TotalHoursMod = (TotalTime%3600);
var TotalMin = floor(TotalHoursMod/60);
var TotalMinMod = (TotalHoursMod%60);
var TotalSec = floor(TotalMinMod);
form[i+"hour"].value=TotalHours;
form[i+"minute"].value=TotalMin;
form[i+"second"].value=TotalSec;
  }
 }
}
return;
}
</script>

</head>

<body>

<form method="post">
  <table border="4" bgcolor="#BBBBFF">
    <tr>
      <td><b>Datei-Größe:  </b><input type="text" name="size" size="20"> 
      <input type="button" OnClick="compute(this.form, 1)" value="KB"> 
      <input type="button" OnClick="compute(this.form, 1024)" value="MB"> 
      </td>
      <td colspan="3" align="center">
        <b>Dauer des Downloads</b>
      </td>
    </tr>
    <tr align="center">
      <th>Modems- / ISDN- / DSL-Geschwindigkeit</th>
      <th>Stunden </th>
      <th>Minuten </th>
      <th>Sekunden </th>
    </tr>
    <tr align="center">
      <td bgcolor="#ffffff">9.6 K</td>
      <td><input type="text" name="1hour" size="10"> </td>
      <td><input type="text" name="1minute" size="10"> </td>
      <td><input type="text" name="1second" size="10"> </td>
    </tr>
    <tr align="center">
      <td bgcolor="#ffffff">14.4 K</td>
      <td><input type="text" name="2hour" size="10"> </td>
      <td><input type="text" name="2minute" size="10"> </td>
      <td><input type="text" name="2second" size="10"> </td>
    </tr>
    <tr align="center">
      <td bgcolor="#ffffff">28.8 K</td>
      <td><input type="text" name="3hour" size="10"> </td>
      <td><input type="text" name="3minute" size="10"> </td>
      <td><input type="text" name="3second" size="10"> </td>
    </tr>
    <tr align="center">
      <td bgcolor="#ffffff">56 K</td>
      <td><input type="text" name="4hour" size="10"> </td>
      <td><input type="text" name="4minute" size="10"> </td>
      <td><input type="text" name="4second" size="10"> </td>
    </tr>
    <tr align="center">
      <td bgcolor="#ffffff">ISDN (64 K)</td>
      <td><input type="text" name="5hour" size="10"> </td>
      <td><input type="text" name="5minute" size="10"> </td>
      <td><input type="text" name="5second" size="10"> </td>
    </tr>
    <tr align="center">
      <td bgcolor="#ffffff">ISDN (128 K)</td>
      <td><input type="text" name="6hour" size="10"> </td>
      <td><input type="text" name="6minute" size="10"> </td>
      <td><input type="text" name="6second" size="10"> </td>
    </tr>
    <tr align="center">
      <td bgcolor="#ffffff">DSL (1024 K)</td>
      <td><input type="text" name="7hour" size="10"> </td>
      <td><input type="text" name="7minute" size="10"> </td>
      <td><input type="text" name="7second" size="10"> </td>
    </tr>
    <tr align="center">
      <td bgcolor="#ffffff">DSL (2,4 MB)</td>
      <td><input type="text" name="8hour" size="10"> </td>
      <td><input type="text" name="8minute" size="10"> </td>
      <td><input type="text" name="8second" size="10"> </td>
    </tr>
    <tr align="center">
      <td bgcolor="#ffffff">DSL (4,8 MB)</td>
      <td><input type="text" name="9hour" size="10"> </td>
      <td><input type="text" name="9minute" size="10"> </td>
      <td><input type="text" name="9second" size="10"> </td>
    </tr>
    <tr align="center">
      <td bgcolor="#ffffff">DSL (6 MB)</td>
      <td><input type="text" name="10hour" size="10"> </td>
      <td><input type="text" name="10minute" size="10"> </td>
      <td><input type="text" name="10second" size="10"> </td>
    </tr>
    <tr align="center">
      <td bgcolor="#ffffff">Cable (10 MB)</td>
      <td><input type="text" name="11hour" size="10"> </td>
      <td><input type="text" name="11minute" size="10"> </td>
      <td><input type="text" name="11second" size="10"> </td>
    </tr>
    <tr align="center">
      <td bgcolor="#ffffff">Cable (20 MB)</td>
      <td><input type="text" name="12hour" size="10"> </td>
      <td><input type="text" name="12minute" size="10"> </td>
      <td><input type="text" name="12second" size="10"> </td>
    </tr>
  </table>
</form>
Sponsoren und Investoren

Sponsoren und Investoren sind jederzeit herzlich willkommen!
Wenn Sie die Information(en) auf dieser Seite interessant fanden, freuen wir uns über eine kleine Spende. Empfehlen Sie uns bitte auch in Ihren Netzwerken (z. B. Twitter, Facebook oder Google+). Herzlichen Dank!

Nach oben Sitemap
Impressum & Kontakt