Client local time

Hi folks ^^

Ok think it's gonna be pretty easy but can't find any solution on internet...I need to get the client local time in order to get database informations in function of the client time and not the server one. How can I do with RoR?

Any idea?

Olivier.

Hi folks ^^

Ok think it's gonna be pretty easy but can't find any solution on internet...I need to get the client local time in order to get database informations in function of the client time and not the server one. How can I do with RoR?

You'd have to write some javascript to do that (and then hope that the user has the time set correctly)

Fred