Question:
I have an ASP that records a text of notes created by a user. I save this note in a database along with a date&time stamp. If the client is in a different time zone, the app picks up the date&time from my server. I want to pick up the current date/time in the client’s time zone. How should I handle this?
Answer:
One way to access the client’s date and time is to have it sent along with the other information in the form.
Ask the user to fill in the date and time, or get it using client side scripting.
If you need to use the scripting solution:
1. Have a hidden field in your form.
"dt"e;
2. Define a function to run when the form is submitted.