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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T00:52:12+00:00 2026-06-10T00:52:12+00:00

We have a system that schedules appointments and is based in the UK. Project

  • 0

We have a system that schedules appointments and is based in the UK. Project Managers use it to schedule appointments for UK staff as well as Australian staff.

PMs will put an appointment in the schedule for say 9am on Monday but that is independent of location; i.e. when a UK staff member sees it he/she reads it as 9am UK time and when an Australian staff member reads it they read it as 9am Aus time.

I have written an Outlook plugin that displays these bookings and allows selection of them. The problem is that when the plugin runs in Australia it sees the datetime originates from the UK and adds the time difference. So as a result the Australian staff have their appointments offset when they shouldn’t be.

I’m using an Infragistics Schedule control and wondered what the best way is to ensure that a 9am appointment appears as 9am in all locations and the offset is NOT applied?

Thanks,
Drammy

  • 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-10T00:52:13+00:00Added an answer on June 10, 2026 at 12:52 am

    For me, the best way is to always use UTC datetime everywhere in your code. Only when show you can switch (or not) to the good timezone.

    http://msdn.microsoft.com/en-us/library/system.datetime.aspx

    The Locale / UTC is defined using the DateTimeKind enum ( http://msdn.microsoft.com/en-us/library/shx7s921.aspx )

    Always use DateTime.ToUniversalTime() in order to get the DateTime in UTC ( http://msdn.microsoft.com/en-us/library/system.datetime.touniversaltime.aspx )

    (Of course the ToLocalTime() exists too).

    You should do some tests in order to check everything is looking as expected.

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

Sidebar

Related Questions

I have a system that will generate messages sporadically, and I would like to
For some part of my project I need a process-local scheduling system that will
I have a system tray UI in Java that requires a schedule database poll.
We have system here that uses Java JNI to call a function in a
I have a system that takes dynamic data, puts it in HTML for layout
I have big system that make my system crash hard. When I boot up,
I have a system that runs like this: main.exe runs sub.exe runs sub2.exe and
We have a system that has some Bash scripts running besides Java code. Since
We have a system that runs in IIS. The system should always run using
I have a system that has many components interacting with each other. It occured

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.