title: Need Help to Converting Delphi Time to .Net Time
body: <p>I am porting a Delphi application to C# and I've run into a problem. The Delphi app records the time into a log file, which then gets read back into the program. But the format of the time it records confuses me. I can find no .Net library to convert it properly.</p>
  
  <p>Delphi recorded time in log file: 976129709 
  (this gets converted to 1/14/2009 5:53:26 PM in the Delphi code)</p>
  
  <pre><code>//Here is the Delphi code which records it: 
  IntToStr(DirInfo.Time);
  
  //Here is the Delphi code which reads it back in:
  DateTimeToStr(FileDateToDateTime(StrToInt(stringTime));
  </code></pre>
  
  <p>Anybody have any ideas how I can read this in .Net?</p>