<?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[SYSTEMTIME to string]]></title><description><![CDATA[<p>Hi,</p>
<p>ich habe ein komisches Problem:</p>
<p>Ich möchte ein SYSTEMTIME in ein string &quot;umwandeln&quot;.<br />
Das mache ich folgendermaßen:</p>
<pre><code>GetDateFormat(0,0,&amp;mySystime,&quot;yyyy'-'MM'-'dd&quot;,datebuffer,11);
GetTimeFormat(0,0,&amp;mySystime,&quot;HH':'mm':'ss&quot;,timebuffer,9);
</code></pre>
<p>Ok, hier mein Problem:<br />
Wenn ich meine <strong>SYSTEMTIME-Variable nicht global</strong> deklariere, dann bekomm ich nur das Datum richtig ausgelesen.<br />
Bei der Zeit schreibt er <strong>komische Zeichen</strong> hin.</p>
<p>Wenn <strong>SYSTEMTIME-Variable global</strong>, dann <strong>alles wunderbar</strong>.</p>
<p>Hat einer ne Idee an was das liegen könnte!?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/66329/systemtime-to-string</link><generator>RSS for Node</generator><lastBuildDate>Tue, 07 Apr 2026 22:41:09 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/66329.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 27 Feb 2004 10:59:16 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to SYSTEMTIME to string on Fri, 27 Feb 2004 10:59:16 GMT]]></title><description><![CDATA[<p>Hi,</p>
<p>ich habe ein komisches Problem:</p>
<p>Ich möchte ein SYSTEMTIME in ein string &quot;umwandeln&quot;.<br />
Das mache ich folgendermaßen:</p>
<pre><code>GetDateFormat(0,0,&amp;mySystime,&quot;yyyy'-'MM'-'dd&quot;,datebuffer,11);
GetTimeFormat(0,0,&amp;mySystime,&quot;HH':'mm':'ss&quot;,timebuffer,9);
</code></pre>
<p>Ok, hier mein Problem:<br />
Wenn ich meine <strong>SYSTEMTIME-Variable nicht global</strong> deklariere, dann bekomm ich nur das Datum richtig ausgelesen.<br />
Bei der Zeit schreibt er <strong>komische Zeichen</strong> hin.</p>
<p>Wenn <strong>SYSTEMTIME-Variable global</strong>, dann <strong>alles wunderbar</strong>.</p>
<p>Hat einer ne Idee an was das liegen könnte!?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/468929</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/468929</guid><dc:creator><![CDATA[nibbler21]]></dc:creator><pubDate>Fri, 27 Feb 2004 10:59:16 GMT</pubDate></item><item><title><![CDATA[Reply to SYSTEMTIME to string on Fri, 27 Feb 2004 13:23:58 GMT]]></title><description><![CDATA[<p>Befindest du dich denn noh im Gültigkeitsbereich der Variable? Und zeig evtl. mal den Code drumrum, also mit der lokalen SYSTEMTIME-Variable</p>
]]></description><link>https://www.c-plusplus.net/forum/post/469044</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/469044</guid><dc:creator><![CDATA[flenders]]></dc:creator><pubDate>Fri, 27 Feb 2004 13:23:58 GMT</pubDate></item></channel></rss>