How to get current logged in user's local timezone in asp.net mvc2 -
i need current logged in user's local timezone , pass function exports excel data analysis purpose.
the export excel data functionality done using server side code, , need logged in user's local timezone client machine.
can 1 me provide way resolve issue?
thanks & regards, santosh kumar patro
you'd need plugin of kind (i.e.: flash, or active-x). timezone of client isn't in http request header , can't access system information page rendered in browser.
if users don't travel around much, save timezones profiles.
edit: i've seen people talking solving kind of problem before, getting user's approximate location , inferring time zone that. should noted workaround may extremely innacurate.
Comments
Post a Comment