View Full Version : user local time display in input field

07-18-2007, 07:01 AM
Good day to you all,
I'm wondering how can I have the local time of a user into a input field, it might sound or be stupid but even after my search I couldn't find a code si9mple enough, without any bla bla which each not my need.

Can somebody help me ?
win 2003

Thanks i

07-18-2007, 09:07 AM
Think you're going to have to use javascript for this

Stamp = new Date();
document.write('' + (Stamp.getMonth() + 1) +"/"+Stamp.getDate()+ "/"+Stamp.getYear()");