Click here to Skip to main content
15,914,323 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Strange effect Pin
LiYS9-Jan-05 23:09
LiYS9-Jan-05 23:09 
General'Open' Dialog Pin
mcsherry9-Jan-05 22:12
mcsherry9-Jan-05 22:12 
GeneralRe: 'Open' Dialog Pin
toxcct9-Jan-05 22:16
toxcct9-Jan-05 22:16 
GeneralRe: 'Open' Dialog Pin
FlyingTinman12-Jan-05 12:32
FlyingTinman12-Jan-05 12:32 
GeneralRe: 'Open' Dialog Pin
Arjan Schouten9-Jan-05 22:43
Arjan Schouten9-Jan-05 22:43 
GeneralRe: 'Open' Dialog Pin
mcsherry10-Jan-05 1:09
mcsherry10-Jan-05 1:09 
Generalatomic clock and time zone programming Pin
mr_mark_hewitt9-Jan-05 21:44
mr_mark_hewitt9-Jan-05 21:44 
GeneralRe: atomic clock and time zone programming Pin
Mike Dimmick10-Jan-05 1:29
Mike Dimmick10-Jan-05 1:29 
mr_mark_hewitt wrote:
First, I want to use display a clock in my applicatio that uses an atomic clock to sync its time with. What is the recommended way to do this/links to useful info?

Modern versions of Windows (XP, 2003) come preconfigured to contact time.windows.com using the Simple Network Time Protocol[^]. If you join a machine to a 2000 or 2003 Active Directory domain, the machine then gets its time from the domain controller.

Second, I also need to display the time of other timezones, say I'm in LA, and want to diplay the time for London and NY. Does any body have links to information on how one would go about determing the time in other timezones,area.

My World Clock[^] sample application does this. Source code is available at that link - it's a C# application but uses OS function calls for the actual time conversions. The tricky bit is handling daylight savings time - otherwise it would be a simple offset calculation.

My biggest issue is with how the user can pick his location and how the software knows the timezone/etc at that location?

You'd have to have some kind of database of locations and the corresponding time zones.

Stability. What an interesting concept. -- Chris Maunder
GeneralRe: atomic clock and time zone programming Pin
mr_mark_hewitt10-Jan-05 2:28
mr_mark_hewitt10-Jan-05 2:28 
GeneralRe: atomic clock and time zone programming Pin
David Crow11-Jan-05 10:42
David Crow11-Jan-05 10:42 
GeneralIIS 6 and VC++ 6 Pin
Venkat Eswaran9-Jan-05 19:54
Venkat Eswaran9-Jan-05 19:54 
GeneralRe: IIS 6 and VC++ 6 Pin
Mike Dimmick9-Jan-05 23:07
Mike Dimmick9-Jan-05 23:07 
GeneralVC++ Dialog Control Pin
phijophlip9-Jan-05 19:09
phijophlip9-Jan-05 19:09 
GeneralRe: VC++ Dialog Control Pin
Monty29-Jan-05 20:44
Monty29-Jan-05 20:44 
GeneralRe: VC++ Dialog Control Pin
FlyingTinman12-Jan-05 12:45
FlyingTinman12-Jan-05 12:45 
GeneralPass paramters to an application while openning a file Pin
ytod9-Jan-05 15:44
ytod9-Jan-05 15:44 
GeneralRe: Pass paramters to an application while openning a file Pin
ThatsAlok9-Jan-05 17:21
ThatsAlok9-Jan-05 17:21 
GeneralRe: Pass paramters to an application while openning a file Pin
ytod9-Jan-05 18:40
ytod9-Jan-05 18:40 
GeneralRe: Pass paramters to an application while openning a file Pin
Anonymous9-Jan-05 19:33
Anonymous9-Jan-05 19:33 
GeneralRe: Pass paramters to an application while openning a file Pin
ThatsAlok9-Jan-05 20:23
ThatsAlok9-Jan-05 20:23 
GeneralNeed some help Pin
Member 16182599-Jan-05 15:20
Member 16182599-Jan-05 15:20 
GeneralRe: Need some help Pin
ytod9-Jan-05 15:54
ytod9-Jan-05 15:54 
GeneralPointer to an object in a std::list Pin
Jordan C. Atlas9-Jan-05 13:25
Jordan C. Atlas9-Jan-05 13:25 
GeneralRe: Pointer to an object in a std::list Pin
PJ Arends9-Jan-05 13:35
professionalPJ Arends9-Jan-05 13:35 
GeneralRe: Pointer to an object in a std::list Pin
Jordan C. Atlas9-Jan-05 17:26
Jordan C. Atlas9-Jan-05 17:26 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.