Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

CMOS clock

JunMJunM Member Posts: 31
How can i get the cmos clock? If i use the function time() and some the user of my working will change the time in system tray the time also in my vb application will also change. need help pls.... thanks..

Comments

  • JomacJomac Member Posts: 231
    : How can i get the cmos clock? If i use the function time() and some the user of my working will change the time in system tray the time also in my vb application will also change. need help pls.... thanks..
    :

    Both the system clock and the Time() function return time based on the CMOS clock. What I am saying is that the Time() function gives you the systems time adjusted for zone as required. If someone changes the time in windows it changes in the CMOS clock, so a more direct method of getting the time will not give you a more acurate result. If you need to measure the duration of a task - use the windows tick-count.
    ______
    [size=2][b][blue]J[/blue]omac.[/b][/size]

Sign In or Register to comment.