Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to get system date and time 1

Status
Not open for further replies.

SonicChen

Programmer
Feb 14, 2004
62
CN
as the titile.
thanks for any answers.
 
Code:
var
  dt  : TDateTime;
  st  : TSystemTime;
begin
  dt := Now; // To get the date and time in Delphi format.
  DateTimeToSystemTime(dt, st); // To convert to a system record 
                                // SYSTEMTIME.

buho (A).
 
thansk a lot

way to gold shines more than gold
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top