<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.soldat.pl/index.php?action=history&amp;feed=atom&amp;title=TIniFile.WriteTime</id>
		<title>TIniFile.WriteTime - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.soldat.pl/index.php?action=history&amp;feed=atom&amp;title=TIniFile.WriteTime"/>
		<link rel="alternate" type="text/html" href="https://wiki.soldat.pl/index.php?title=TIniFile.WriteTime&amp;action=history"/>
		<updated>2026-05-06T00:56:11Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>https://wiki.soldat.pl/index.php?title=TIniFile.WriteTime&amp;diff=1121&amp;oldid=prev</id>
		<title>Mighty: Created page with &quot; '''procedure WriteDate(const Section, Ident: String; Value: TDateTime)'''   Section: Section name   Ident: Property name (key)   Value: Value to be assigned to a key  ==D...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.soldat.pl/index.php?title=TIniFile.WriteTime&amp;diff=1121&amp;oldid=prev"/>
				<updated>2013-08-23T00:05:19Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot; &amp;#039;&amp;#039;&amp;#039;procedure WriteDate(const Section, Ident: String; Value: &lt;a href=&quot;/index.php/TDateTime&quot; title=&quot;TDateTime&quot;&gt;TDateTime&lt;/a&gt;)&amp;#039;&amp;#039;&amp;#039;   Section: Section name   Ident: Property name (key)   Value: Value to be assigned to a key  ==D...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt; '''procedure WriteDate(const Section, Ident: String; Value: [[TDateTime]])'''&lt;br /&gt;
  Section: Section name&lt;br /&gt;
  Ident: Property name (key)&lt;br /&gt;
  Value: Value to be assigned to a key&lt;br /&gt;
&lt;br /&gt;
==Description==&lt;br /&gt;
This procedure updates an existing key's value or creates a new one.&amp;lt;br&amp;gt;&lt;br /&gt;
Note that key value will be in ''HH:NN'' format.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
Example adds a new (useless) key to soldat.ini&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;pascal&amp;quot;&amp;gt;&lt;br /&gt;
const&lt;br /&gt;
  // assuming Sandbox Level &amp;lt; 2&lt;br /&gt;
  PATH = 'soldat.ini';&lt;br /&gt;
&lt;br /&gt;
var&lt;br /&gt;
  Ini: TIniFile;&lt;br /&gt;
&lt;br /&gt;
begin&lt;br /&gt;
  Ini := File.CreateINI(PATH);&lt;br /&gt;
  Ini.WriteTime('BOTS','CurrTime',Time());&lt;br /&gt;
  Ini.UpdateFile;&lt;br /&gt;
  Ini.Free;&lt;br /&gt;
end.&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:TIniFile]]&lt;/div&gt;</summary>
		<author><name>Mighty</name></author>	</entry>

	</feed>