client date time
Posted: Thu Jan 28, 2016 1:03 pm
Does anyone know how to make all date and times pull from client not server I have a hosted server that is one hour away so all times are inaccurate.
Does anyone know how to make all date and times pull from client not server I have a hosted server that is one hour away so all times are inaccurate.
You need to write JavaScript code to get the date time. Google for sample code.
Or offset the time in the Row_Inserting/Row_Updating server event.
How would I call the javascript on any date time field in my site
You can add "on<xxx>='my_js_function();'" (in Edit Tag -> Custom Attributes) to call your JavaScript function by either onclick or onkeydown. See Field Setup -> Edit Tag -> Custom Attributes in the help file.