<?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=FormatDate</id>
		<title>FormatDate - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.soldat.pl/index.php?action=history&amp;feed=atom&amp;title=FormatDate"/>
		<link rel="alternate" type="text/html" href="https://wiki.soldat.pl/index.php?title=FormatDate&amp;action=history"/>
		<updated>2026-05-26T04:00:07Z</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=FormatDate&amp;diff=83&amp;oldid=prev</id>
		<title>Freeman: Created page with &quot;===From the Scripting Manual===  ''function FormatDate(FormatString: string): string''    '''Parameter Info:'''   FormatString (String): Format to be used on the date.    '''D...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.soldat.pl/index.php?title=FormatDate&amp;diff=83&amp;oldid=prev"/>
				<updated>2012-08-15T09:10:18Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;===From the Scripting Manual===  &amp;#039;&amp;#039;function FormatDate(FormatString: string): string&amp;#039;&amp;#039;    &amp;#039;&amp;#039;&amp;#039;Parameter Info:&amp;#039;&amp;#039;&amp;#039;   FormatString (String): Format to be used on the date.    &amp;#039;&amp;#039;&amp;#039;D...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;===From the Scripting Manual===&lt;br /&gt;
 ''function FormatDate(FormatString: string): string''&lt;br /&gt;
 &lt;br /&gt;
 '''Parameter Info:'''&lt;br /&gt;
  FormatString (String): Format to be used on the date.&lt;br /&gt;
 &lt;br /&gt;
 '''Description:'''&lt;br /&gt;
 The following (non-Asian) formatting character strings can be used in the FormatString string:&lt;br /&gt;
 &lt;br /&gt;
 y 	= Year last 2 digits&lt;br /&gt;
 yy 	= Year last 2 digits&lt;br /&gt;
 yyyy 	= Year as 4 digits&lt;br /&gt;
 m 	= Month number no-leading 0&lt;br /&gt;
 mm 	= Month number as 2 digits&lt;br /&gt;
 mmm 	= Month using ShortDayNames (Jan)&lt;br /&gt;
 mmmm 	= Month using LongDayNames (January)&lt;br /&gt;
 d 	= Day number no-leading 0&lt;br /&gt;
 dd 	= Day number as 2 digits&lt;br /&gt;
 ddd 	= Day using ShortDayNames (Sun)&lt;br /&gt;
 dddd 	= Day using LongDayNames  (Sunday)&lt;br /&gt;
 ddddd 	= Day in ShortDateFormat&lt;br /&gt;
 dddddd 	= Day in LongDateFormat&lt;br /&gt;
 	&lt;br /&gt;
 c 	= Use ShortDateFormat + LongTimeFormat&lt;br /&gt;
 h  	= Hour number no-leading 0&lt;br /&gt;
 hh 	= Hour number as 2 digits&lt;br /&gt;
 n	= Minute number no-leading 0&lt;br /&gt;
 nn 	= Minute number as 2 digits&lt;br /&gt;
 s 	= Second number no-leading 0&lt;br /&gt;
 ss 	= Second number as 2 digits&lt;br /&gt;
 z	= Milli-sec number no-leading 0s&lt;br /&gt;
 zzz 	= Milli-sec number as 3 digits&lt;br /&gt;
 t 	= Use ShortTimeFormat&lt;br /&gt;
 tt 	= Use LongTimeFormat&lt;br /&gt;
 	&lt;br /&gt;
 am/pm 	= Use after h : gives 12 hours + am/pm&lt;br /&gt;
 a/p 	= Use after h : gives 12 hours + a/p&lt;br /&gt;
 ampm 	= As a/p but TimeAMString,TimePMString&lt;br /&gt;
 / 	= Substituted by DateSeparator value&lt;br /&gt;
 :	= Substituted by TimeSeparator value&lt;br /&gt;
&lt;br /&gt;
==Examples==&lt;br /&gt;
&amp;lt;source lang=&amp;quot;pascal&amp;quot;&amp;gt;begin&lt;br /&gt;
WriteLn('The time is currently '+FormatDate('hh:nn:ss am/pm'));&lt;br /&gt;
end;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==External Links==&lt;br /&gt;
* [http://enesce.com/help/index.html?Functions/FormatDate.html Scripting Manual page for FormatDate]&lt;br /&gt;
&lt;br /&gt;
[[Category:Server Scripting]][[Category:Server Scripting Functions]]&lt;/div&gt;</summary>
		<author><name>Freeman</name></author>	</entry>

	</feed>