<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Trying to save datetime string. in Operating System - Microsoft</title>
    <link>https://community.hpe.com/t5/operating-system-microsoft/trying-to-save-datetime-string/m-p/4325224#M9129</link>
    <description>Using .Net protocol. &lt;BR /&gt;C#&lt;BR /&gt;&lt;BR /&gt;I am trying to get system date&amp;amp;time and save it in a string. here is my syntax &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;DateTime date3 = DateTime.Now; //this capture current system date.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;lr.log(date3.ToString()); // this is printing out the current date and time. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;lr.save_string(lr.log(date3.ToString()),"mydate" ); &lt;BR /&gt;// its not working, I am trying to put the current time &amp;amp; date in a string mydate. its giving syntax error. Cant figure out what.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;    lr.save_string(lr.log(date3.ToString()}"), "mydate" );&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Wed, 17 Dec 2008 17:01:44 GMT</pubDate>
    <dc:creator>ZChauhan</dc:creator>
    <dc:date>2008-12-17T17:01:44Z</dc:date>
    <item>
      <title>Trying to save datetime string.</title>
      <link>https://community.hpe.com/t5/operating-system-microsoft/trying-to-save-datetime-string/m-p/4325224#M9129</link>
      <description>Using .Net protocol. &lt;BR /&gt;C#&lt;BR /&gt;&lt;BR /&gt;I am trying to get system date&amp;amp;time and save it in a string. here is my syntax &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;DateTime date3 = DateTime.Now; //this capture current system date.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;lr.log(date3.ToString()); // this is printing out the current date and time. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;lr.save_string(lr.log(date3.ToString()),"mydate" ); &lt;BR /&gt;// its not working, I am trying to put the current time &amp;amp; date in a string mydate. its giving syntax error. Cant figure out what.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;    lr.save_string(lr.log(date3.ToString()}"), "mydate" );&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 17 Dec 2008 17:01:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-microsoft/trying-to-save-datetime-string/m-p/4325224#M9129</guid>
      <dc:creator>ZChauhan</dc:creator>
      <dc:date>2008-12-17T17:01:44Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to save datetime string.</title>
      <link>https://community.hpe.com/t5/operating-system-microsoft/trying-to-save-datetime-string/m-p/4325225#M9130</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;Since this is a Microsoft product, you would probably get better answers by posting in the Microsoft family of the ITRC forums.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 17 Dec 2008 17:17:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-microsoft/trying-to-save-datetime-string/m-p/4325225#M9130</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2008-12-17T17:17:32Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to save datetime string.</title>
      <link>https://community.hpe.com/t5/operating-system-microsoft/trying-to-save-datetime-string/m-p/4325226#M9131</link>
      <description>&lt;A href="http://msdn.microsoft.com/en-us/library/az4se3k1.aspx" target="_blank"&gt;http://msdn.microsoft.com/en-us/library/az4se3k1.aspx&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;The MS example would convert to:&lt;BR /&gt;&lt;BR /&gt;DateTime date3 = DateTime.Now;&lt;BR /&gt;DTString = date3.ToString("g");&lt;BR /&gt;&lt;BR /&gt;Jon</description>
      <pubDate>Fri, 19 Dec 2008 19:22:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-microsoft/trying-to-save-datetime-string/m-p/4325226#M9131</guid>
      <dc:creator>Jon Finley</dc:creator>
      <dc:date>2008-12-19T19:22:57Z</dc:date>
    </item>
  </channel>
</rss>

