Custom date time picker for Windows Forms that is locked to GMT time

Posted by m3ntat on Stack Overflow See other posts from Stack Overflow or by m3ntat
Published on 2010-03-15T18:20:51Z Indexed on 2010/04/24 5:03 UTC
Read the original article Hit count: 310

  • Using Visual Studio 2008, c#, .net 2.0.

I have a Windows Forms client application that contains a scheduling UI section, currently this is housed only in the London office with the standard datetime picker control, the selected time is saved in a UK database (GMT) and a London based server aapplication processes the schedules.

There is a requirement to roll the client out to various global locations, Hong Kong, New York etc and allow them to setup schedules that run according to GMT time on the London server.

I'll have a label on screen saying "note schedules are GMT" what I need is a good way to present a datetime picker that always shows and is in sync with the database server's GMT time regardless of where the client app is running globally.

Suggestions on how to acheive this? thanks.

© Stack Overflow or respective owner

Related posts about windows-forms

Related posts about c#