<?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[DateTimePicker ????]]></title><description><![CDATA[<p>Hi ich habe mich vorkurzen mit dieser Frage gestellt:</p>
<blockquote>
<p>hi ich will Dateien mit einen Bestimmten Datum kopieren wie mach ich das?????</p>
<p>ich bin zu faul jedes mal die Dateien zu suchen und dann zu kopieren deswegen will ich ein Programm schreiben dafür das es automatisch macht.</p>
<p>Vielen Dank im voraus</p>
<p>Werner2005</p>
</blockquote>
<p>Wer sich das ankucken will <a href="http://www.c-plusplus.net/forum/viewtopic-var-p-is-854395.html#854395" rel="nofollow">http://www.c-plusplus.net/forum/viewtopic-var-p-is-854395.html#854395</a></p>
<p>Ich habe jetzt herausgefunden wie ich Dateien Suche und Kopiere ich habe jetzt das Problem ich will mit Hilfe eines DateTimePicker das Start wie auch das End Darum eingeben das Problem ist wenn ich jetzt aus TSearchRec die Zeit auslese kommt da eine Zahl raus z.B. Heute 857042678 was bedeutet das?? und was sagt mir die Zahl aus dem DateTimePicker da kommt auch eine Zahl raus was bedetet die z.B. Heute: 38585.</p>
<p>Vielen Dank</p>
<p>Werner2005</p>
<p>Mein Bisheriger Qelcod sie wie folgt aus:</p>
<pre><code class="language-cpp">void __fastcall TForm1::Button1Click(TObject *Sender)
{
  TSearchRec sr;
  int iAttributes = 0;
  StringGrid1-&gt;RowCount = 1;
  iAttributes |= faReadOnly * CheckBox1-&gt;Checked;
  iAttributes |= faHidden * CheckBox2-&gt;Checked;
  iAttributes |= faSysFile * CheckBox3-&gt;Checked;
  iAttributes |= faVolumeID * CheckBox4-&gt;Checked;
  iAttributes |= faDirectory * CheckBox5-&gt;Checked;
  iAttributes |= faArchive * CheckBox6-&gt;Checked;
  iAttributes |= faAnyFile * CheckBox7-&gt;Checked;
  StringGrid1-&gt;RowCount = 0;
  if (FindFirst(Edit1-&gt;Text, iAttributes, sr) == 0)

  {

    do
    {
      if ((sr.Attr &amp; iAttributes) == sr.Attr)
      {

        StringGrid1-&gt;RowCount = StringGrid1-&gt;RowCount + 1;
        StringGrid1-&gt;Cells[1][StringGrid1-&gt;RowCount-1] = sr.Name;
        StringGrid1-&gt;Cells[2][StringGrid1-&gt;RowCount-1] = IntToStr(sr.Size);
        StringGrid1-&gt;Cells[3][StringGrid1-&gt;RowCount-1] = sr.Time;

      }
    } while (FindNext(sr) == 0);
    FindClose(sr);
  }
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/topic/118545/datetimepicker</link><generator>RSS for Node</generator><lastBuildDate>Fri, 24 Jul 2026 20:59:13 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/118545.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 21 Aug 2005 18:38:37 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to DateTimePicker ???? on Sun, 21 Aug 2005 18:38:37 GMT]]></title><description><![CDATA[<p>Hi ich habe mich vorkurzen mit dieser Frage gestellt:</p>
<blockquote>
<p>hi ich will Dateien mit einen Bestimmten Datum kopieren wie mach ich das?????</p>
<p>ich bin zu faul jedes mal die Dateien zu suchen und dann zu kopieren deswegen will ich ein Programm schreiben dafür das es automatisch macht.</p>
<p>Vielen Dank im voraus</p>
<p>Werner2005</p>
</blockquote>
<p>Wer sich das ankucken will <a href="http://www.c-plusplus.net/forum/viewtopic-var-p-is-854395.html#854395" rel="nofollow">http://www.c-plusplus.net/forum/viewtopic-var-p-is-854395.html#854395</a></p>
<p>Ich habe jetzt herausgefunden wie ich Dateien Suche und Kopiere ich habe jetzt das Problem ich will mit Hilfe eines DateTimePicker das Start wie auch das End Darum eingeben das Problem ist wenn ich jetzt aus TSearchRec die Zeit auslese kommt da eine Zahl raus z.B. Heute 857042678 was bedeutet das?? und was sagt mir die Zahl aus dem DateTimePicker da kommt auch eine Zahl raus was bedetet die z.B. Heute: 38585.</p>
<p>Vielen Dank</p>
<p>Werner2005</p>
<p>Mein Bisheriger Qelcod sie wie folgt aus:</p>
<pre><code class="language-cpp">void __fastcall TForm1::Button1Click(TObject *Sender)
{
  TSearchRec sr;
  int iAttributes = 0;
  StringGrid1-&gt;RowCount = 1;
  iAttributes |= faReadOnly * CheckBox1-&gt;Checked;
  iAttributes |= faHidden * CheckBox2-&gt;Checked;
  iAttributes |= faSysFile * CheckBox3-&gt;Checked;
  iAttributes |= faVolumeID * CheckBox4-&gt;Checked;
  iAttributes |= faDirectory * CheckBox5-&gt;Checked;
  iAttributes |= faArchive * CheckBox6-&gt;Checked;
  iAttributes |= faAnyFile * CheckBox7-&gt;Checked;
  StringGrid1-&gt;RowCount = 0;
  if (FindFirst(Edit1-&gt;Text, iAttributes, sr) == 0)

  {

    do
    {
      if ((sr.Attr &amp; iAttributes) == sr.Attr)
      {

        StringGrid1-&gt;RowCount = StringGrid1-&gt;RowCount + 1;
        StringGrid1-&gt;Cells[1][StringGrid1-&gt;RowCount-1] = sr.Name;
        StringGrid1-&gt;Cells[2][StringGrid1-&gt;RowCount-1] = IntToStr(sr.Size);
        StringGrid1-&gt;Cells[3][StringGrid1-&gt;RowCount-1] = sr.Time;

      }
    } while (FindNext(sr) == 0);
    FindClose(sr);
  }
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/855587</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/855587</guid><dc:creator><![CDATA[Werner2005]]></dc:creator><pubDate>Sun, 21 Aug 2005 18:38:37 GMT</pubDate></item><item><title><![CDATA[Reply to DateTimePicker ???? on Sun, 21 Aug 2005 20:39:29 GMT]]></title><description><![CDATA[<p>Hallo</p>
<p>bitte die BCB-Hilfe lesen</p>
<blockquote>
<p>Time enthält den Zeitstempel der Datei. Dabei handelt es sich um einen DOS Datums/Uhrzeitstelmpel. Mit FileDateToDateTime kann dieser Wert in einen TDateTime-Wert konvertiert werden.</p>
</blockquote>
<p>/Edit : du brauchst auch keinen TDateTimePicker, um die Daten zu vergleichen.<br />
Das kannst du über die normalen Operatoren machen.</p>
<p>bis bald<br />
akari</p>
]]></description><link>https://www.c-plusplus.net/forum/post/855604</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/855604</guid><dc:creator><![CDATA[akari]]></dc:creator><pubDate>Sun, 21 Aug 2005 20:39:29 GMT</pubDate></item><item><title><![CDATA[Reply to DateTimePicker ???? on Mon, 22 Aug 2005 17:36:46 GMT]]></title><description><![CDATA[<p>Hi jetz habe ich es direkt verglichen</p>
<p>Aber es funzonirt nicht er sagt alles were in dem von Mir angeben Zeitraum erstellt worden</p>
<p>mein Qulecod was ist fasch?????</p>
<pre><code class="language-cpp">void __fastcall TForm1::Button1Click(TObject *Sender)
{
  TSearchRec sr;
  int iAttributes = 0;
  StringGrid1-&gt;RowCount = 1;
  iAttributes |= faReadOnly * CheckBox1-&gt;Checked;
  iAttributes |= faHidden * CheckBox2-&gt;Checked;
  iAttributes |= faSysFile * CheckBox3-&gt;Checked;
  iAttributes |= faVolumeID * CheckBox4-&gt;Checked;
  iAttributes |= faDirectory * CheckBox5-&gt;Checked;
  iAttributes |= faArchive * CheckBox6-&gt;Checked;
  iAttributes |= faAnyFile * CheckBox7-&gt;Checked;
  StringGrid1-&gt;RowCount = 0;
  if (FindFirst(Edit1-&gt;Text, iAttributes, sr) == 0)

  {

    do
    {
      if ((sr.Attr &amp; iAttributes) == sr.Attr)
      {

        StringGrid1-&gt;RowCount = StringGrid1-&gt;RowCount + 1;
        StringGrid1-&gt;Cells[1][StringGrid1-&gt;RowCount-1] = sr.Name;
        StringGrid1-&gt;Cells[2][StringGrid1-&gt;RowCount-1] = IntToStr(sr.Size);
        StringGrid1-&gt;Cells[3][StringGrid1-&gt;RowCount-1] = sr.Time;
       if(sr.Time &gt;= DateTimePicker1-&gt;DateTime || sr.Time &lt;= DateTimePicker2-&gt;DateTime)
          {
           StringGrid1-&gt;Cells[3][StringGrid1-&gt;RowCount-1] = &quot;richtig&quot;;
         }
         else
         {
          StringGrid1-&gt;Cells[3][StringGrid1-&gt;RowCount-1] = &quot;falsch&quot; ;
         }

      }
    } while (FindNext(sr) == 0);
    FindClose(sr);
  }
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/856351</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/856351</guid><dc:creator><![CDATA[Werner2005]]></dc:creator><pubDate>Mon, 22 Aug 2005 17:36:46 GMT</pubDate></item><item><title><![CDATA[Reply to DateTimePicker ???? on Mon, 22 Aug 2005 17:40:24 GMT]]></title><description><![CDATA[<p>Hallo</p>
<p>ich hab ja bereits geschrieben das du sr.Time erstmal mit <em>FileDateToDateTime</em> konvertieren must.</p>
<p>bis bald<br />
akari</p>
]]></description><link>https://www.c-plusplus.net/forum/post/856355</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/856355</guid><dc:creator><![CDATA[akari]]></dc:creator><pubDate>Mon, 22 Aug 2005 17:40:24 GMT</pubDate></item><item><title><![CDATA[Reply to DateTimePicker ???? on Mon, 22 Aug 2005 18:05:54 GMT]]></title><description><![CDATA[<p>Wie geht das mit FileDateToDateTime ????</p>
]]></description><link>https://www.c-plusplus.net/forum/post/856372</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/856372</guid><dc:creator><![CDATA[Werner2005]]></dc:creator><pubDate>Mon, 22 Aug 2005 18:05:54 GMT</pubDate></item><item><title><![CDATA[Reply to DateTimePicker ???? on Mon, 22 Aug 2005 18:48:02 GMT]]></title><description><![CDATA[<p>Hallo</p>
<p>also du solltest dir angewöhnen, mal die BCB-Hilfe zu genannten Stichworten zu durchsuchen</p>
<pre><code class="language-cpp">TDateTime FileDate = FileDateToDateTime(sr.Time);
</code></pre>
<p>bis bald<br />
akari</p>
]]></description><link>https://www.c-plusplus.net/forum/post/856407</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/856407</guid><dc:creator><![CDATA[akari]]></dc:creator><pubDate>Mon, 22 Aug 2005 18:48:02 GMT</pubDate></item></channel></rss>