Per Application Time Settings

Posted on 2004-10-29
Last Modified: 2006-11-17
We have a Stock Market Viewer application which uses web services for data distribution.
A problem occurs when data is sent accross timezones where the datetime values are being shown in
the local time, so that a trade occurring at 12:51 in the datagrid in the same timezone as the server will be shown
as 14:51 at the remote client.  I know this is an issue having to do with datetime and xmlserialization. In some cases this would
be a natural way to display the data but clearly not in all.

Is there any way to set an application domain or thread to simulate being in a different timezone or having a time offset without having to configure regional settings.

Any help would be greatly appreciated.
Thank you...
Question by:tomasX2
    LVL 4

    Accepted Solution

    When you send the data why not send the time as well
    then your application will be able to have both times
    LVL 96

    Assisted Solution

    by:Bob Learned
    Why don't you use universal time?



    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    IT Security CISA, CISSP & CISM Certification

    Master the advanced techniques required to protect network resources from external threats with the IT Cyber Security bundle. Built around industry best-practice guidelines, the IT Cyber Security bundle consists of three in-depth courses.

    Flash ( has evolved over the years to where it has become a masterful tool for displaying content screen.  It has excellent layout placement, UI precision as well as rendering capabilities. This, along with t…
    Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
    Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
    Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

    856 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now