Mail Archives: djgpp/2001/10/07/07:48:52
Using DJGPP 2.03/GCC 2.95.3, I want to create a
program that does nothing more than report what
1) my local time is
2) and the local times of friends living around the world
3) calculating the difference between time zones
4) setting alarms for each unique time zone, etc.
Obtaining local time should be easy enough...
How difficult will it be to add and subtract several hours
from my local time, in order to get accurate obtain times
elsewhere in the world...
such that I will be able to use difftime() to see the
difference, be able to set alarms when a certain time zone
enters a specific time (hey my friend is now online ;-),
alarm_set (+/- offset_to_time_zone);
where "offset_to_time_zone" is added/subbed from
my local_time, and we simply wait for a count down,
or perhaps a match at least...
and things like this...
Would there already be functions that handle World zones already?
Thanks for any advice, comments....
Code snippets always welcomed too.... ;-)
email: radsmail AT juno DOT com
http://members.tripod.com/~RadSurfer/
Join us on Yahoo at:
http://groups.yahoo.com/group/BorlandCPPBuilder
for informal discussions about all versions of C++Builder...
[Computer programming for Windows 95, and Console32]
(you must be a Yahoo member to join)
- Raw text -