search for: visitortime

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

2006 May 23
0
Passing a browser variable to Rails?
OK so for my first question, Background : I am trying to roll my own fuzzy-time representation algorithm. I want to pull the Timezone from the browser on page load. I was trying to do it through javascript, in the form of "var visitortime = new Date(); document.write("<SOME HTML ELEMENT" + visitortime.getTimezoneOffset()/60);" + ">"); and once that was written I would pull it into my RoR page loading. The reason I''m doing this is that I have some dynamic page calls that need this info withou...