procedure TForm1.Button1Click(Sender: TObject);
var
Startup:TDateTime;
begin
Startup:=TimeStampToDateTime(MsecsToTimeStamp(TimeStamptoMsecs(DateTimeToTimeStamp(Now))-gettickCount));
showmessage((FormatDateTime(('"开机时间:"yyyy"年"mm"月"dd"日 "ddd" "hh:nn:ss.zzz'),Startup)));
showmessage((FormatDateTime(('"开机时间:"c'),Startup)));
end;