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 8424605
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T04:02:29+00:00 2026-06-10T04:02:29+00:00

I have a system which consists of a C# back end and a Java

  • 0

I have a system which consists of a C# back end and a Java front end. The C# back end communicates with other systems and some mobile devices.


On the C# side, my task is among others to recognize the time zone of the timestamps coming from the mobile devices and create the corresponding TimeZoneInfo object. This is working without any problems.


On the Java side, I have to display the time zone information together with the data sent by a mobile device. I’m using the TimeZone class to store the time zone information within my domain objects.


Now the question is how can I create a Java’s TimeZone object which corresponds with a C#‘s TimeZoneInfo object? AFAIK the time zones do not have any unique IDs. Further on, the names are also different (e.g. in C#: “Central Europe Standard Time“, in Java “Central Europe Time“). Not even the number of the time zones in C# and in Java is equal!

  • 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-10T04:02:31+00:00Added an answer on June 10, 2026 at 4:02 am

    You know that “time” is independent of “time zone”, so I won’t belabor that point 🙂

    “TimeZone” is really more a function of your OS than a programming language.

    Android “Time Zone IDs” correspond to the standard, IANA “Olson database”:

    • http://developer.android.com/reference/java/util/TimeZone.html#getTimeZone%28java.lang.String%29

    • http://en.wikipedia.org/wiki/Tz_database

    The other half of the equation is mapping .Net timezones to the “standard”. This link should help:

    • .NET TimeZoneInfo from Olson time zone
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a large system in Java, which basicaly consists of an user interface,
We have a large high-performance software system which consists of multiple interacting Java processes
Say I have a couple of java runtime environments running on my system which
We have a distributed .net system which consists of several solutions, each with different
We have a system which consists of numerous applications. All applications have their version
I have a distributed system which consists of 2 applications A and B .
I have an application that consists of three parts: a front-end web shop for
I have a system which is receiving log files from different places through http
I have a system which contains multiple applications connected together using JMS and Spring
I have a system which receives leads (they are piped in via email) and

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.