My server c# code uses UiAdaptor to send to the client a Date time string.
I want this string to be according to the client time zone and
to include the timezone in the returned string.
What’s the recommended way to do so? Investigating httpRequest?
Can I investigate httpRequest in a BLL class (not inherit from web.Page)?
You can find the timezone in the Date HTTP header field. So investigating httpRequest is the way to go
update
I went to this website which shows the HTTP request header sent by your browser and noticed that it wasn’t sending the date. I’m not sure why that might be, but if the date was in the request, it would be in the Date field.
Otherwise, you can’t readily discover the time zone the user is in (I suppose you could trace the hostname or some other thing, which would be unreliable).
Most services that care about time zones (forums, google calendar, etc) will ask you which you’re in. I suspect this is why.