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

  • Home
  • SEARCH
  • 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 8542809
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T12:09:17+00:00 2026-06-11T12:09:17+00:00

I have a common problem: Need to convert time between Time Zones 1- I

  • 0

I have a common problem:

Need to convert time between Time Zones

1- I need to find what is the Client Side Time Zone

2- Convert it To UTC

So after some search I find that the only way to find the client side Time Zone is Use java script, and I also Use This Library, But this library returned the Time zone with this format: Location/CityName Like : "America/New_York"

Then the only way I know to convert Time between Time Zones is:

TimeZoneInfo.ConvertTimeToUtc(clientsidedatetime, TimeZoneInfo.FindSystemTimeZoneById("Pacific Standard Time") /*Client Time Zone Name*/);

So as you see the Time Zone Format used in FindSystemTimeZoneById is different from my java script returned.

The question is how can I convert this two format to each other, for ex Convert Asia/Singapore to Singapore Time?

Or is there any better way to find and convert client side time to UTC Time?

  • 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-11T12:09:18+00:00Added an answer on June 11, 2026 at 12:09 pm

    Timezones like “America/New York” are the standard on unix/linux based systems and on the internet in general. They are called “Olson” timezones, after the original author, Arthur Olson. The database they are based on is sometimes called the “Olson database”, “tz database” or “zoneinfo database”. They are now maintained by IANA. You can read more about them on Wikipedia.

    Olson timezones are not at all compatible with Microsoft Windows timezone identifiers – which the .Net TimeZoneInfo classes use. Microsoft has long had their own timezone database, which is maintained by Windows Update, and discussed by Microsoft here.

    The authoritative source for converting between these standards is the Unicode CLDR They publish a table that can be used for conversion, but I recommend you use a library for this instead.

    There are several libraries available for .Net for working with Olson timezone and CLDR data. The best (IMHO) is NodaTime by StackOverflow celeb Jon Skeet. This is a port of a highly popular library from Java that includes an Olson timezone implementation, along with a reworked set of classes for datetime manipulation that are superior to Microsoft’s in many ways.

    The libraries I am aware of that implement the IANA/Olson database in .Net are:

    • NodaTime (recommended)
    • ZoneInfo
    • TZ4Net

    UPDATE
    All of this information, and more, are available in the StackOverflow TimeZone tag wiki.

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

Sidebar

Related Questions

This is a fairly common problem to which I have yet to find an
I have a common problem that I never know how to solve with CSS:
This must be a common problem with a common solution. I have a lot
This is a slightly original variation on a common problem. I have a fairly
I have common functionality that I need to access from all screens of my
I think I have what must be a very common problem to solve and
I have the presumably common problem of having elements that I wish to place
I have a simple, but probably common problem on how to inject HTML inside
I have the very common problem of creating an index for an in-disk array
It appears after much searching that there seems to be a common problem when

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.