<?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[WMI DateTime formatieren]]></title><description><![CDATA[<p>Hallo,</p>
<p>gibt es eine Funktion ähnlich <em>WMIDateStringToDate</em> für c++/winapi?<br />
Muss ich den String von Hand parsen, oder hat das jemand schon zufällig eine Funktion für geschrieben?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/192936/wmi-datetime-formatieren</link><generator>RSS for Node</generator><lastBuildDate>Tue, 30 Jun 2026 16:12:42 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/192936.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 20 Sep 2007 10:00:21 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to WMI DateTime formatieren on Thu, 20 Sep 2007 10:00:21 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>gibt es eine Funktion ähnlich <em>WMIDateStringToDate</em> für c++/winapi?<br />
Muss ich den String von Hand parsen, oder hat das jemand schon zufällig eine Funktion für geschrieben?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1369078</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1369078</guid><dc:creator><![CDATA[yogle]]></dc:creator><pubDate>Thu, 20 Sep 2007 10:00:21 GMT</pubDate></item><item><title><![CDATA[Reply to WMI DateTime formatieren on Thu, 20 Sep 2007 10:06:48 GMT]]></title><description><![CDATA[<p>In welches Format willst du dein String jetzt? In eine SYSTEMTIME Struktur?</p>
<p>schirrmie</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1369082</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1369082</guid><dc:creator><![CDATA[schirrmie]]></dc:creator><pubDate>Thu, 20 Sep 2007 10:06:48 GMT</pubDate></item><item><title><![CDATA[Reply to WMI DateTime formatieren on Thu, 20 Sep 2007 10:10:41 GMT]]></title><description><![CDATA[<p>Jo, das wäre optimal.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1369088</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1369088</guid><dc:creator><![CDATA[yogle]]></dc:creator><pubDate>Thu, 20 Sep 2007 10:10:41 GMT</pubDate></item><item><title><![CDATA[Reply to WMI DateTime formatieren on Thu, 20 Sep 2007 12:53:18 GMT]]></title><description><![CDATA[<p>Das für ein Format hat den Dein DateTime? Was für ein Datentyp ist es denn???<br />
Beispiel?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1369283</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1369283</guid><dc:creator><![CDATA[Jochen Kalmbach]]></dc:creator><pubDate>Thu, 20 Sep 2007 12:53:18 GMT</pubDate></item><item><title><![CDATA[Reply to WMI DateTime formatieren on Thu, 20 Sep 2007 15:10:26 GMT]]></title><description><![CDATA[<p>Okay, also ich verwende die <strong>Win32_OperatingSystem</strong> Klasse über die WMI und möchte <strong>LastBootUpTime</strong> auslesen. Laut MSDN ist das ein <em>datetime</em> Datentyp. In Wirklichkeit ist es ein BSTR der die Startzeit im <em>CIM_DATETIME</em> Format anzeigt. Diese ist korrekt und sieht folgendermaßen aus:<br />
<a href="http://msdn2.microsoft.com/en-us/library/aa387237.aspx" rel="nofollow">http://msdn2.microsoft.com/en-us/library/aa387237.aspx</a></p>
<p>Jetzt kann ich nur Funktionen finden die diesen String in eine anderes Format zerlegen, die entweder nur für C#, oder VBS sind.</p>
<p>OffTopic: Ist die MSDN(2) bei euch zur Zeit auch so schrecklich langsam? Bei mir dauert es ewig bis sich eine Seite aufgebaut hat.</p>
<p>EDIT: Mal kurz ne andere Frage. Durch GetSystemInfo erhalte ich die Anzahl der Prozessoren. Wie wird da Hyperthreading oder Prozessoren mit mehren Cores gezählt?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1369317</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1369317</guid><dc:creator><![CDATA[yogle]]></dc:creator><pubDate>Thu, 20 Sep 2007 15:10:26 GMT</pubDate></item><item><title><![CDATA[Reply to WMI DateTime formatieren on Thu, 20 Sep 2007 15:43:58 GMT]]></title><description><![CDATA[<p>Mir ist keine Funktion gekannt die dies macht...<br />
Aber der String ist doch auch leicht zu parsen, oder?</p>
<blockquote>
<p>&quot;20070920064404.375000+120&quot;</p>
</blockquote>
]]></description><link>https://www.c-plusplus.net/forum/post/1369462</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1369462</guid><dc:creator><![CDATA[Jochen Kalmbach]]></dc:creator><pubDate>Thu, 20 Sep 2007 15:43:58 GMT</pubDate></item><item><title><![CDATA[Reply to WMI DateTime formatieren on Thu, 20 Sep 2007 15:48:31 GMT]]></title><description><![CDATA[<p>Bzgl. Prozessoren: Hyperthreading zählt als CPU... also bei einem Core mit HT hast Du sazusagen zwei CPUs...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1369466</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1369466</guid><dc:creator><![CDATA[Jochen Kalmbach]]></dc:creator><pubDate>Thu, 20 Sep 2007 15:48:31 GMT</pubDate></item><item><title><![CDATA[Reply to WMI DateTime formatieren on Thu, 20 Sep 2007 15:51:07 GMT]]></title><description><![CDATA[<p>Jochen Kalmbach schrieb:</p>
<blockquote>
<p>Mir ist keine Funktion gekannt die dies macht...<br />
Aber der String ist doch auch leicht zu parsen, oder?</p>
<blockquote>
<p>&quot;20070920064404.375000+120&quot;</p>
</blockquote>
</blockquote>
<p>Ja geht schon, nur warum das Rad neu erfinden wenn es schon fertige Lösungen gäbe?!</p>
<p>Jochen Kalmbach schrieb:</p>
<blockquote>
<p>Bzgl. Prozessoren: Hyperthreading zählt als CPU... also bei einem Core mit HT hast Du sazusagen zwei CPUs...</p>
</blockquote>
<p>Aha okay und Multicore Prozessoren?<br />
Gibt es eine Funktion (WMI?) die mir auflistet, wie viele Hardware-Prozessoren installiert sind, wie viele Cores auf einem sitzen und welche Hyperthreading haben?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1369468</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1369468</guid><dc:creator><![CDATA[yogle]]></dc:creator><pubDate>Thu, 20 Sep 2007 15:51:07 GMT</pubDate></item><item><title><![CDATA[Reply to WMI DateTime formatieren on Thu, 20 Sep 2007 16:32:42 GMT]]></title><description><![CDATA[<p>Ähem... sind nicht hier schon die fertigen Lösugen?<br />
<a href="http://msdn2.microsoft.com/en-us/library/aa394590.aspx" rel="nofollow">http://msdn2.microsoft.com/en-us/library/aa394590.aspx</a></p>
<p>?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1369502</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1369502</guid><dc:creator><![CDATA[Jochen Kalmbach]]></dc:creator><pubDate>Thu, 20 Sep 2007 16:32:42 GMT</pubDate></item><item><title><![CDATA[Reply to WMI DateTime formatieren on Thu, 20 Sep 2007 16:39:17 GMT]]></title><description><![CDATA[<p>Jochen Kalmbach schrieb:</p>
<blockquote>
<p>Ähem... sind nicht hier schon die fertigen Lösugen?<br />
<a href="http://msdn2.microsoft.com/en-us/library/aa394590.aspx" rel="nofollow">http://msdn2.microsoft.com/en-us/library/aa394590.aspx</a></p>
</blockquote>
<p>Hmm diese hatte ich gesehen, allerdings sind das Scripts für VBS. Und ich habe keine Ahnung wie ich das in C++/WinApi implementieren soll???</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1369512</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1369512</guid><dc:creator><![CDATA[yogle]]></dc:creator><pubDate>Thu, 20 Sep 2007 16:39:17 GMT</pubDate></item></channel></rss>