how can I get user Time Zone in Wordpress if you don't know where the user comes from.
Let's say if a user is in USA I need to get USA Time Zone, if the user is in Germany I need to get Germany Time Zone.
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It only takes a minute to sign up.Sign up to join this community
Since WordPress is a server-side framework/CMS, it likely doesn't have the functionality you're looking for. If you're looking for ways to obtain this information, the most reliable would likely be to ask the user.
And then ask the user to confirm that it is the correct timezone. Keep in mind, client side code is run on the user's machine and can be disabled entirely.