LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

get computer time

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?
0 Kudos
Message 1 of 2
(2,585 Views)
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()?
0 Kudos
Message 2 of 2
(2,585 Views)