I Use this to grab a time to add to a DB but I just want the time from the server
<script type="text/javascript">
function addDate(){
var now = new Date();
document.update.update_date.value = now;
document.update.submit();
}
</script>
It currently displays time like these
Tue Aug 27 13:09:49 PDT 2002
Tue Aug 27 23:15:47 UTC+0100 2002
All i want is for it to display the time the event happend at the server time
<script type="text/javascript">
function addDate(){
var now = new Date();
document.update.update_date.value = now;
document.update.submit();
}
</script>
It currently displays time like these
Tue Aug 27 13:09:49 PDT 2002
Tue Aug 27 23:15:47 UTC+0100 2002
All i want is for it to display the time the event happend at the server time