<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://www.newlc.com" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>NewLC - How to read &amp;amp; write date stored in text file? - Comments</title>
 <link>http://www.newlc.com/en/forum/how-read-write-date-stored-text-file</link>
 <description>Comments for &quot;How to read &amp; write date stored in text file?&quot;</description>
 <language>en</language>
<item>
 <title>Re: How to read &amp; write date stored in text file?</title>
 <link>http://www.newlc.com/en/forum/how-read-write-date-stored-text-file#comment-46324</link>
 <description>&lt;p&gt;Did you succed in making a trial version? I am planning to do a trial version for our product Digital lotus&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://www.softwaremarket.nokia.com/?action=productDetails&amp;pID=5124&amp;pmsid=283&amp;lang=en&amp;currency=USD&quot;&gt;http://www.softwaremarket.nokia.com/?action=productDetails&amp;pID=5124&amp;pmsid=283&amp;lang=en&amp;currency=USD&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;without using Openbit.&lt;/p&gt;</description>
 <pubDate>Tue, 13 May 2008 10:15:48 +0200</pubDate>
 <dc:creator>MobileVisuals</dc:creator>
 <guid isPermaLink="false">comment 46324 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: How to read &amp; write date stored in text file?</title>
 <link>http://www.newlc.com/en/forum/how-read-write-date-stored-text-file#comment-40789</link>
 <description>&lt;p&gt;Or you can simply use fopen, fprintf, etc. They are supported even in OS 6.&lt;/p&gt;</description>
 <pubDate>Fri, 17 Aug 2007 10:18:44 +0200</pubDate>
 <dc:creator>Ais</dc:creator>
 <guid isPermaLink="false">comment 40789 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: How to read &amp; write date stored in text file?</title>
 <link>http://www.newlc.com/en/forum/how-read-write-date-stored-text-file#comment-40787</link>
 <description>&lt;p&gt;&gt;&gt;HOW TO WRITE THIS DATE IN FILE?? &lt;br /&gt;
Convert datetime to descriptor using TTime::FormatL and use RFile:Write to write to a file.&lt;/p&gt;

&lt;p&gt;&gt;&gt;HOW TO COMPARE &quot;expiry_date&quot; &amp; &quot;current_date&quot;?? &lt;br /&gt;
Use TTime::Set (For this to work you should store in a specific format. check out help for more info) to set the datetime read from file which is in the form of descriptor. Use += and &gt;= operators of TTime to add interval and compare.&lt;/p&gt;

&lt;p&gt;Cheers,&lt;br /&gt;
Sri&lt;br /&gt;
&lt;/p&gt;</description>
 <pubDate>Fri, 17 Aug 2007 08:57:57 +0200</pubDate>
 <dc:creator>srikanth</dc:creator>
 <guid isPermaLink="false">comment 40787 at http://www.newlc.com</guid>
</item>
<item>
 <title>How to read &amp; write date stored in text file?</title>
 <link>http://www.newlc.com/en/forum/how-read-write-date-stored-text-file</link>
 <description>&lt;p&gt;Hello,&lt;/p&gt;

&lt;p&gt;       I&#039;m developing one appliaction. I want to make this application as trial version for 5 days.&lt;/p&gt;

&lt;p&gt;      I&#039;m trying to use date compare logic.&lt;/p&gt;

&lt;p&gt;      At the time of installation, i&#039;m creating one Text file which remains on C:\ drive.&lt;br /&gt;
Same time i&#039;m accessing current date (installation date) using &lt;br /&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;TTime time;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; time.HomeTime();&lt;/code&gt;&lt;/div&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;http://www.newlc.com/en/forum/how-read-write-date-stored-text-file&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.newlc.com/en/forum/how-read-write-date-stored-text-file#comments</comments>
 <category domain="http://www.newlc.com/en/forums/symbian-c">Symbian C++</category>
 <pubDate>Fri, 17 Aug 2007 08:36:05 +0200</pubDate>
 <dc:creator>iworktech_sameer</dc:creator>
 <guid isPermaLink="false">18674 at http://www.newlc.com</guid>
</item>
</channel>
</rss>
