Is this time zone data from IP geolocation? So not necessarily accurate at the edge between two time

Is this time zone data from IP geolocation? So not necessarily accurate at the edge between two timezones or when using a VPN?

const timezone = request.cf.timezone;
let localized_date = new Date(new Date().toLocaleString('en-US', { timeZone: timezone }));


https://developers.cloudflare.com/workers/examples/geolocation-custom-styling/
Documentation for Cloudflare Workers, a serverless execution environment that allows you to create entirely new applications or augment existing ones without configuring or maintaining infrastructure.
Geolocation: Custom Styling · Cloudflare Workers docs
Was this page helpful?