News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests
NB: Posting URL's See here: Posted URL Change

Main Menu

Date & Time All Around The World

Started by Tedd, October 13, 2013, 10:56:13 AM

Previous topic - Next topic

Tedd

Hi timezone fans:

Are you tired of wondering what the time is in another country?

Are you unhappy with flaky, halfway solutions?

Then look no further - Tedd's unpatented time zone formulator will take those worries away!

Works for all time zones! Calculates daylight saving accurately! Updates the time every minute!

Satisfaction guaranteed - or your money back!! :biggrin:

That's all folks!



[Edit: attachment replaced with fixed version.]
[Edit2: really fixed this time..]
Potato2

dedndave

nice, Tedd   :t

ps - i still want my money back   :biggrin:

Gunther

Tedd,

works fine. Well done.  :t

Gunther
You have to know the facts before you can distort them.

Vortex


FORTRANS

Hi,

   It works nicely.

Thanks,

Steve N.

qWord

the Key "HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Time Zones" does not exist on my machine (win7, x64), thus the dialog initialization fails. After manual selecting a time zone, it works perfect.

BTW: checked with regedit.
MREAL macros - when you need floating point arithmetic while assembling!

Vortex

Quote from: qWord on October 14, 2013, 01:40:26 AM
the Key "HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Time Zones" does not exist on my machine (win7, x64), thus the dialog initialization fails. After manual selecting a time zone, it works perfect.

BTW: checked with regedit.

The missing time zones could be fixed :

http://blogs.technet.com/b/dst2007/archive/2007/03/06/missing-time-zones-in-registry.aspx

dedndave

i think there is another instance in HKLM - better to use that one, no ?
windows 7-64 should properly virtualize the 64-bit set to 32-bit

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones]

EDIT: that's what Tedd uses - HKLM

Tedd

#8
Quote from: qWord on October 14, 2013, 01:40:26 AM
the Key "HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Time Zones" does not exist on my machine (win7, x64), thus the dialog initialization fails. After manual selecting a time zone, it works perfect.

BTW: checked with regedit.
Thanks, I've fixed it now - I hope (attachment replaced in first posting.)


I would've expected there to be a different time zone selection for each user, but it appears there's only one for the machine - so the per-user key becomes redundant; now I'm using the name of the machine's current time zone. now I'm using the GetTimeZoneInformation function, like any sensible person should. :greensml:
Potato2

dedndave


Antariy

Quote from: Tedd on October 13, 2013, 10:56:13 AM
Hi timezone fans:

:greensml: Very satiric and witty, Tedd :t
The program not only shows the time, it even saves the Forum's database space :biggrin:

FORTRANS

Hi,

   Now works without any user input.  The original had me
select a time zone.

Regards,

Steve

Gunther

Tedd,

the new version works smooth.  :t

Gunther
You have to know the facts before you can distort them.