pacerier — 2010-10-23T22:28:07-04:00 — #1
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?
pacerier — 2010-10-24T23:35:20-04:00 — #2
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?
svcghost — 2010-10-23T23:32:38-04:00 — #3
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.
paul_wilkins — 2010-10-23T23:26:11-04:00 — #4
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.
scallioxtx — 2010-10-23T22:33:30-04:00 — #5
scallioxtx — 2010-10-25T04:54:27-04:00 — #6
Use some kind of server side scripting like ASP, PHP, Java, etc
pacerier — 2010-10-26T10:45:05-04:00 — #7
ok thanks for the help =)