How to read the BIOS clock?

I am sing Delphi 6 under windows 2000.
Please help me out how to read the BIOS clock?
and how to change it?
I will be very grateful for your help
Thank you!

Comments

  • : I am sing Delphi 6 under windows 2000.
    : Please help me out how to read the BIOS clock?
    : and how to change it?
    : I will be very grateful for your help
    : Thank you!
    :

    Is GetTime not good enough. You can also use the procedure Now.
    ex.

    var
    MyTime : TDateTime;
    begin
    MyTime := Now;
    end;
    This will return the time down to the Milisecond i think
  • : I am sing Delphi 6 under windows 2000.
    : Please help me out how to read the BIOS clock?
    : and how to change it?
    : I will be very grateful for your help
    : Thank you!
    :
    Use SetSystemTime to set the time. Look in the Win SDK help in delphi on how to use it.
Sign In or Register to comment.

Howdy, Stranger!

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

Categories

In this Discussion