Help for this page

Select Code to Download


  1. or download this
    <form name="theform" action="getmytime.pl">
    <input type="hidden" name="user_localtime">
    ...
    }
    </script>
    <body onLoad="set_user_localtime())">
    
  2. or download this
    # tells the javascript that the script as already been run
    print "<script>var already_submitted=1;</script>";
    
  3. or download this
    use CGI;
    $query = CGI::new;
    ...
    @server_localtime = localtime;
    $offset = $user_time[0] - $server_localtime[2];
    print $offset;