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.

On Jul 27, 3:35 pm, CiriusMex [email protected] wrote:

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