You are here: irt.org | FAQ | JavaScript | Date | Q1534 [ previous next ]
Try:
<script language="JavaScript"><!-- var now = new Date(); var nowUTC = new Date(Date.UTC(now.getFullYear(),now.getMonth(),now.getDate(),now.getHours(),now.getMinutes(),now.getSeconds,now.getMilliseconds())) var EST = -9 // I have no idea ;-) var anHour = 60*60*1000; now.setTime(nowUtc+(EST*anHour)); //--></script>