how do i auto adjust time base on user local time
how do i auto adjust time base on user local time
i want to put in a time like 1:00pm us time manually, how can i make this number automaticly change to whaterver time equivalent in user local timezone
----------
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script>
var time = "1:00 pm";
var time2 = "10:30 am";
</script>
</head>
<body>
<script>document.write(time)</script>
<script>document.write(time2)</script>
</body>
</html>