Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8765143
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T16:12:44+00:00 2026-06-13T16:12:44+00:00

I have a string like Sat, 27 Oct 2012 23:47:57 -0700 and I want

  • 0

I have a string like
Sat, 27 Oct 2012 23:47:57 -0700 and I want to get corresponding timezone of -0700 like PST ,UTC etc..

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T16:12:45+00:00Added an answer on June 13, 2026 at 4:12 pm

    Fundamentally, you can’t. You’ve currently just got an offset from UTC… and that could map to multiple time zones. You could create a fixed-offset time zone, of course – but that’s not the same thing as “the time zone the user was originally in when this date/time value was generated” which is what I suspect you want.

    You could see step through every time zone and see whether it’s valid in each one – but you’ll need to be careful due to some times which are ambiguous. For example, on Sunday in the UK, both “Sun, 28 Oct 2012 01:30:00 +0100” and “Sun, 28 Oct 2012 01:30:00 +0000” would have been valid. You probably want to work out the absolute UTC instant, and check what the offset for that instant would have been in the candidate time zone. If that offset is the same as the one you started with, that time zone is one of the ones which fits.

    Quite what you’ll want to do if you find multiple time zones which fit, I don’t know – we don’t really have enough context to give advice.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

If I have string like combination.py , I want to get the following result
I have string looking like this: 'Toy Story..(II) (1995)' I want to split the
i have String Like As below : alert(tempstr);//<b> Testing </b> now I want create
I have datetime data in string format like this: Sat Mar 24 23:59:59 GMT
I have the date in the string format like this Sat Sep 8 10:13:09
I have string like this /c SomeText\MoreText Some Text\More Text\Lol SomeText I want to
I have string like this (length>10)&(length<100) And i want this (,length,>,10,),&,(,length,<,100,) Is it possible
I have string like 123-123-1234 so I want to convert string into this format
I have string like this : <input name=my_name id=my_id value=my_value class=my_class /> I would
I have string like \LESSING\root\cimv2:Win32_UserAccount.Domain=LESSING,Name=Admin How to convert it to LESSING\Admin using Framework?

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.