I get local computer time by C-function time(). In my program I have TL1 connection to some system that has its own clock. The time() function returns the time of this system instead of local computer time. How can I get the computer time?
Are you sure your problem isn't the time zone representation ot the time() output? Do you use localtime() on the time() output? Have you tried other time functions like TimeStr() or GetSystemTime()?