Sorry if I missed something obvious — what’s the best way to run some JS code on the client, and access the return value server-side?
var offset = new Date().getTimezoneOffset();
Or better yet, this: https://bitbucket.org/pellepim/jstimezonedetect (jstz object)
Thanks.
Hi Andrew,
you can find a sample using jstz and the different options to integrate it into Wisej here:
http://wisej.s3.amazonaws.com/support/attachments/Wisej.JavaScriptCallbacks.zip
Few notes:
Best regards
Frank
Please login first to submit.