Dear All,
I am now working on putting a time stamp for a free form text field by script.
the script to generate the time stamp is below.
var today = new Date(); var year = today.getFullYear(); var month = today.getMonth()+1; var date = today.getDate(); var hour = today.getHours(); hour = hour + 15;
We use +8 time zone here.When I deploy the script, the script is "hour = hour + 16;" and the time stamp is working well.My client just now ring me saying the time stamp is stamped 1 hour in advance.Why will this case appear? Is it related to the Summer time or Winter Time of the US? and any way that we can prevent this?Thanks in advance.