<?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[Datum und Zeit ermitteln]]></title><description><![CDATA[<p>Hallo,</p>
<p>kann mir jemand weiterhelfen.</p>
<p>Wie kann man unter Windows die aktuelle Zeit und das aktuelle Datum ermitteln?</p>
<p>Danke!</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/205458/datum-und-zeit-ermitteln</link><generator>RSS for Node</generator><lastBuildDate>Sun, 26 Apr 2026 15:40:07 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/205458.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 14 Feb 2008 14:17:33 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Datum und Zeit ermitteln on Thu, 14 Feb 2008 14:17:33 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>kann mir jemand weiterhelfen.</p>
<p>Wie kann man unter Windows die aktuelle Zeit und das aktuelle Datum ermitteln?</p>
<p>Danke!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1455870</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1455870</guid><dc:creator><![CDATA[Gast07]]></dc:creator><pubDate>Thu, 14 Feb 2008 14:17:33 GMT</pubDate></item><item><title><![CDATA[Reply to Datum und Zeit ermitteln on Thu, 14 Feb 2008 14:34:25 GMT]]></title><description><![CDATA[<p>GetSystemtime( ) oder so oder mit time.h bzw. ctime.</p>
<p>Gruß Tobi.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1455880</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1455880</guid><dc:creator><![CDATA[T0bi]]></dc:creator><pubDate>Thu, 14 Feb 2008 14:34:25 GMT</pubDate></item><item><title><![CDATA[Reply to Datum und Zeit ermitteln on Thu, 14 Feb 2008 14:43:30 GMT]]></title><description><![CDATA[<p>Mit &quot;timevalue = timeGetTime()&quot; erhälst du die seit dem 1.1.1970 vergangenen Sekunden als DWORD als Bezug gilt Greenwitch. Mit &quot;t = localtime(&amp;timevalue)&quot;, wobei &quot;struct tm *t&quot; kannst du dann umrechnen auf die Systemzeit auf deinem Rechner. Dei elemente von tm musste mal in der msdn nachschauen, die weiss ich jetzt net auswendig.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1455888</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1455888</guid><dc:creator><![CDATA[timeGetTime]]></dc:creator><pubDate>Thu, 14 Feb 2008 14:43:30 GMT</pubDate></item><item><title><![CDATA[Reply to Datum und Zeit ermitteln on Thu, 14 Feb 2008 21:23:15 GMT]]></title><description><![CDATA[<pre><code class="language-cpp">#define NUM_ELEMENTS(x) (sizeof((x)) / sizeof((x)[0]))

SYSTEMTIME st;
GetLocalTime (&amp;st);

TCHAR szTime[32];
GetTimeFormat (LOCALE_USER_DEFAULT, LOCALE_USE_CP_ACP, &amp;st, NULL, szTime, NUM_ELEMENTS (szTime));
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1456204</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1456204</guid><dc:creator><![CDATA[Fake oder Echt]]></dc:creator><pubDate>Thu, 14 Feb 2008 21:23:15 GMT</pubDate></item></channel></rss>