search for: tzoff

Displaying 1 result from an estimated 1 matches for "tzoff".

Did you mean: tpoff
2006 Jun 14
3
JS variable -> ruby?
I have a little javascipt script to determine a users GMT timezone offset... is it possible to use that variable in ruby code, in the view? js script: <script type="text/javascript"> Now = new Date(); tzOff = Now.getTimezoneOffset(); tzOff = tzOff/60; </script> Thanks! -stirman -- Posted via http://www.ruby-forum.com/.