<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Erstelldatum einer Datei auslessen]]></title><description><![CDATA[<p>Hi ich möchte ein Erstelldatum von dateien auslessen wie macht man das. Ich benutze findeFirst... um die Dateien auszulessen. ich wieß auch wie ich an das Änderdartum bekomme aber nicht das Erstelldatum???<br />
Wie mach ich das????</p>
<p>vielen Dank im Voruas</p>
<p>Andreas Werner</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/166556/erstelldatum-einer-datei-auslessen</link><generator>RSS for Node</generator><lastBuildDate>Thu, 13 Aug 2026 01:03:03 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/166556.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 30 Nov 2006 13:33:38 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Erstelldatum einer Datei auslessen on Thu, 30 Nov 2006 13:33:38 GMT]]></title><description><![CDATA[<p>Hi ich möchte ein Erstelldatum von dateien auslessen wie macht man das. Ich benutze findeFirst... um die Dateien auszulessen. ich wieß auch wie ich an das Änderdartum bekomme aber nicht das Erstelldatum???<br />
Wie mach ich das????</p>
<p>vielen Dank im Voruas</p>
<p>Andreas Werner</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1184521</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1184521</guid><dc:creator><![CDATA[Werner2005]]></dc:creator><pubDate>Thu, 30 Nov 2006 13:33:38 GMT</pubDate></item><item><title><![CDATA[Reply to Erstelldatum einer Datei auslessen on Thu, 30 Nov 2006 13:48:09 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>Hier kann dir <a href="http://msdn2.microsoft.com/en-gb/library/ms724320.aspx" rel="nofollow">GetFileTime</a> helfen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1184537</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1184537</guid><dc:creator><![CDATA[Braunstein]]></dc:creator><pubDate>Thu, 30 Nov 2006 13:48:09 GMT</pubDate></item><item><title><![CDATA[Reply to Erstelldatum einer Datei auslessen on Thu, 30 Nov 2006 13:50:23 GMT]]></title><description><![CDATA[<p>Anbei noch ein Anwendungsbeispiel.</p>
<pre><code class="language-cpp">bool GetFileTimes(vector&lt;TDateTime&gt;&amp; timevect, const AnsiString &amp;FileName)
{
  vector&lt;FILETIME&gt; ftime(3);
  HANDLE hFile = CreateFile(TEXT(FileName.c_str()),    // file to open
                   GENERIC_READ,          // open for reading
                   FILE_SHARE_READ,       // share for reading
                   NULL,                  // default security
                   OPEN_EXISTING,         // existing file only
                   FILE_ATTRIBUTE_NORMAL, // normal file
                   NULL);                 // no attr. template

  if (hFile == INVALID_HANDLE_VALUE)
     return false;
  GetFileTime(hFile, &amp;ftime[0], &amp;ftime[1], &amp;ftime[2]);
  CloseHandle(hFile);
  SYSTEMTIME stime;
  timevect.clear();
// Creation time
  if( !FileTimeToSystemTime(&amp;ftime[0], &amp;stime)) return false;
  timevect.push_back(TDateTime(stime.wYear, stime.wMonth, stime.wDay));
// last access time
  if( !FileTimeToSystemTime(&amp;ftime[1], &amp;stime)) return false;
  timevect.push_back(TDateTime(stime.wYear, stime.wMonth, stime.wDay));
// last write time
  if( !FileTimeToSystemTime(&amp;ftime[2], &amp;stime)) return false;
  timevect.push_back(TDateTime(stime.wYear, stime.wMonth, stime.wDay));
  return true;
}
//---------------------------------------------------------------------------
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1184540</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1184540</guid><dc:creator><![CDATA[Braunstein]]></dc:creator><pubDate>Thu, 30 Nov 2006 13:50:23 GMT</pubDate></item><item><title><![CDATA[Reply to Erstelldatum einer Datei auslessen on Thu, 30 Nov 2006 15:22:17 GMT]]></title><description><![CDATA[<p>Hallo</p>
<p>Wenn du mit FindFirstFile arbeitest : dann brauchst keine extra Funktion aufrufen. Die Struktur <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fileio/fs/win32_find_data_str.asp" rel="nofollow">WIN32_FIND_DATAA</a> des Suchergebnisses hat bereits einen Member für die Zeitangaben.<br />
Und bei den VCL-Funktionen FindFirst hat die Struktur TSearchRec auch einen Member, der auf die zugrundeliegende WIN32_FIND_DATAA-Struktur verweist.</p>
<p>bis bald<br />
akari</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1184680</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1184680</guid><dc:creator><![CDATA[akari]]></dc:creator><pubDate>Thu, 30 Nov 2006 15:22:17 GMT</pubDate></item></channel></rss>