I very well know that this has been asked quite a number of times here itself but folks please give this question a read. Plus I'm giving my best to phrase this question, hence the Prelude/Question sections.
Prelude:
GeoIP databases pre-built mappings of IP to it's geographic location. There is no assurance that they are accurate, right? i.e. IANA gives out IP blocks to various RIRs, say APNIC. And, APNIC can give out IPs to anyone in any part of the world; not only to the Asia Pacific region. So there is no certainty to the accuracy of Geo-IP mapping that exists as of now.
Questions:
1.
Given this uncertainty how do big websites, like Facebook and Google deal with this? I'm specifically talking about "Timestamps" they give to our emails/messages. Wouldn't they be guessing our location, and hence, the time-zone from the accessing-IP? Say, when I access gmail by connecting to a VPN located in Canada, my mails are stamped with ETC. When I connect to one in US, it's stamped with Pacific Time Zone. Given the uncertainty mentioned earlier, isn't there a huge chance that they'd provide erroneous timestamps right? But honestly, I've never seen that happen, ever.
How would we explain the fact that they show accurate time zones always and never go wrong?
2.
This might be similar to (1), please excuse if so.
I have remote access to a server registered with an IP address belonging to US registry. But it's geographically located in a DC in Tokyo. If by some mechanism I'm accessing my gmail inbox through this server (a remote X-session maybe?).
What time zone would I be seeing on my mails?
Update on Question:
(You may even ignore the previous 'Question' sections (1) and (2) )
With Iain's reply I realized that the answer I was looking for was to - "How websites provide geo-located web experience to users" For eg, the visitors from Canada would be redirected to google.ca, those from India to google.co.in and so forth. Languages are even set according to geolocations.
So if I am to start a website requiring to deliver users with geolocated experience, I'd have to rely on geo-ip databases like MaxMind. So I'll still have chances for errors, right? And sites like Google and Facebook are able to maintain their accuracy in geo-ip due to their immense resourcefulness of their services and the way they collect data from end users, right?