<html>
<head>
<title>Time Zone Converter</title>
<STYLE>
TD {font-family:arial; font-size:11pt; color:navy; font-weight:bold}
.i1 {font-family:arial; font-size:11pt; color:black; font-weight:bold; background:#B9D3EE; vertical-align:middle; text-align:center}
.s1 {font-family:arial; font-size:11pt; color:black; background:#B9D3EE; vertical-align:middle}
.s2 {font-family:arial; font-size:12pt; color:black; font-weight:bold; background:#B9D3EE; text-align:center; vertical-align:middle}
.s3 {font-family:arial; font-size:10pt; color:black; font-weight:bold; vertical-align:middle}
A {font-family:arial; font-size:11pt; vertical-align:middle; color:navy}
A:hover {font-family:arial; font-size:11pt; vertical-align:middle; color:navy; background:#B9D3EE; text-decoration:overline underline}
</STYLE>
<script type="text/javascript">
function convert24to12(s) {
var tzo = parseInt(self.TZO - getCurrentTimezone(), 10);
var h = parseInt(s.substring(0,2), 10) + tzo;
var m = s.substring(2);
if (parseInt(h, 10) > 12) h -= 12;
return h + ":" + m;
}
window.onload = function initTimezone() {
var ZONES = new Array();
ZONES["Hawaii"] = 10;
ZONES["Alaska"] = 9;
ZONES["Pacific"] = 8;
ZONES["Mountain"] = 7;
ZONES["Central"] = 6;
ZONES["Eastern"] = 5;
ZONES["Atlantic"] = 4;
self.TZO = ZONES["Central"];
var sel = document.forms[0].timezone;
self.focus();document.tzc.time1.focus();
show2();
for (var x = 0; x < sel.options.length; x++) {
if (sel.options[x].value == TZO) {
sel.selectedIndex = x;
break;
}
}
}
function getCurrentTimezone() {
return document.forms[0].timezone.options[
document.forms[0].timezone.selectedIndex].value;
}
</script>
</head>
<body>
<TABLE WIDTH=300 HEIGHT=100% CELLPADDING=0 CELLSPACING=0 BORDER=0><TR VALIGN=top><TD VALIGN=top>
<TABLE WIDTH=300 CELLPADDING=0 CELLSPACING=0 BORDER=1 BORDERCOLOR="lightsteelblue"><TR VALIGN=top><TD VALIGN=top>
<DIV ALIGN=left STYLE="margin-top:5px; margin-left:20px"><form NAME="tzc">
ACLAIM Time: </DIV>
<DIV ALIGN=center><input CLASS="i1" type="text" SIZE="5" name="time1" value=""/> <select CLASS="s1" name="timezone" onchange="this.form.btnConvert.Click();">
<option value="10">Hawaii</option>
<option value="9">Alaska</option>
<option value="8">Pacific</option>
<option value="7">Mountain</option>
<option value="6">Central</option>
<option value="5">Eastern</option>
<option value="4">Atlantic</option>
</select> <input type="button" CLASS="s3" value="Convert" name="btnConvert" onClick="this.form.time2.value = convert24to12(this.form.time1.value);" /></DIV>
<p/>
<DIV STYLE="background:lightsteelblue; padding:4px" ALIGN=center>Converted Time: <input CLASS="s2" type="text" SIZE="10" name="time2" /></DIV></TD></TR></TABLE>
</form>
</TD></TR><TR VALIGN=bottom><TD>
<TABLE WIDTH=300 BORDER=0 CELLPADDING=2 CELLSPACING=0><TR>
<TD WIDTH=150><A HREF="/usac/Training/misc/timezones.htm" TARGET="main">Time Zone Map</A></TD>
<TD WIDTH=150 ALIGN=right>
<span id=tick2>
</span>
<script>
<!--
/*By JavaScript Kit
[URL unfurl="true"]http://javascriptkit.com[/URL]
Credit MUST stay intact for use
*/
function show2(){
if (!document.all&&!document.getElementById)
return
thelement=document.getElementById? document.getElementById("tick2"): document.all.tick2
var Digital=new Date()
var hours=Digital.getHours()
var minutes=Digital.getMinutes()
var seconds=Digital.getSeconds()
var dn="pm"
if (hours<12)
dn="am"
if (hours>12)
hours=hours-12
if (hours==0)
hours=12
if (minutes<=9)
minutes="0"+minutes
if (seconds<=9)
seconds="0"+seconds
var ctime=hours+":"+minutes+":"+seconds+" "+dn
thelement.innerHTML="<b style='font-size:11pt;font-family:arial;color:black;'>"+ctime+" ET</b>"
setTimeout("show2()",1000)
}
//-->
</script>
</TD>
</TR></TABLE>
</body>
</html>