Hi all, i was wondering if it is true that the Date object gets its date from the user's local time, if so, could the user "hack" the time by adjusting his local time?
so if i wish to display the date that is not dependent on the user's system's clock, what may be the most appropriate solution?
Yup. Right from their computer's clocks. This is why it's important to validate with server-side script as well. Just in case a tricky rascal wants to try and trick the system somehow.
Tampering is not the only problem. Dates and times can be off because a person doesn't syncronize their clock, or because they may not know enough about setting their computers timezone.
Use some kind of server side scripting like ASP, PHP, Java, etc
ok thanks for the help =)