A<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ru">
		<id>http://cppe.ru/index.php?action=history&amp;feed=atom&amp;title=C%2Fmath.h%2Fstrftime</id>
		<title>C/math.h/strftime - История изменений</title>
		<link rel="self" type="application/atom+xml" href="http://cppe.ru/index.php?action=history&amp;feed=atom&amp;title=C%2Fmath.h%2Fstrftime"/>
		<link rel="alternate" type="text/html" href="http://cppe.ru/index.php?title=C/math.h/strftime&amp;action=history"/>
		<updated>2026-04-09T11:29:57Z</updated>
		<subtitle>История изменений этой страницы в вики</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>http://cppe.ru/index.php?title=C/math.h/strftime&amp;diff=392&amp;oldid=prev</id>
		<title> в 14:20, 25 мая 2010</title>
		<link rel="alternate" type="text/html" href="http://cppe.ru/index.php?title=C/math.h/strftime&amp;diff=392&amp;oldid=prev"/>
				<updated>2010-05-25T14:20:56Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr style=&quot;vertical-align: top;&quot; lang=&quot;ru&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Предыдущая&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Версия 14:20, 25 мая 2010&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; style=&quot;text-align: center;&quot; lang=&quot;ru&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(нет различий)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
			</entry>

	<entry>
		<id>http://cppe.ru/index.php?title=C/math.h/strftime&amp;diff=393&amp;oldid=prev</id>
		<title>Admin: 1 версия:&amp;#32;Импорт контента...</title>
		<link rel="alternate" type="text/html" href="http://cppe.ru/index.php?title=C/math.h/strftime&amp;diff=393&amp;oldid=prev"/>
				<updated>2010-05-25T10:22:45Z</updated>
		
		<summary type="html">&lt;p&gt;1 версия: Импорт контента...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Новая страница&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==strftime: format time and date into a string ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;cpp&amp;quot;&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
//Declaration:  size_t strftime(char *str, size_t maxsize, const char *fmt, const struct tm *time); &lt;br /&gt;
    &lt;br /&gt;
//Command    Replaced By &lt;br /&gt;
//%a:        Abbreviated weekday name &lt;br /&gt;
//%A:        Full weekday name &lt;br /&gt;
//%b:        Abbreviated month name &lt;br /&gt;
//%B:        Full month name &lt;br /&gt;
//%c:        Standard date and time string &lt;br /&gt;
//%C:        Last two digits of year &lt;br /&gt;
//%d:        Day of month as a decimal (1-31) &lt;br /&gt;
//%D:        month/day/year (added by C99) &lt;br /&gt;
//%e:        Day of month as a decimal (1-31) in a two-character field (added by C99) &lt;br /&gt;
//%F:        year-month-day (added by C99) &lt;br /&gt;
//%g:        Last two digits of year using a week-based year (added by C99) &lt;br /&gt;
//%G:        The year using a week-based year (added by C99) &lt;br /&gt;
//%h:        Abbreviated month name (added by C99) &lt;br /&gt;
//%H:        Hour (0-23) &lt;br /&gt;
//%I:        Hour (1-12) &lt;br /&gt;
//%j:        Day of year as a decimal (1-366) &lt;br /&gt;
//%m:        Month as decimal (1-12) &lt;br /&gt;
//%M:        Minute as decimal (0-59) &lt;br /&gt;
//%n:        A newline (added by C99) &lt;br /&gt;
//%p:        Locale&amp;quot;s equivalent of AM or PM &lt;br /&gt;
//%r:        12-hour time (added by C99) &lt;br /&gt;
//%R:        hh:mm (added by C99) &lt;br /&gt;
//%S:        Second as decimal (0-60) &lt;br /&gt;
//%t:        Horizontal tab (added by C99) &lt;br /&gt;
//%T:        hh:mm:ss (added by C99) &lt;br /&gt;
//%u:        Day of week; Monday is first day of week (0-53) (added by C99) &lt;br /&gt;
//%U:        Week of year, Sunday being first day (0-53) &lt;br /&gt;
//%V:        Week of year using a week-based year (added by C99) &lt;br /&gt;
//%w:        Weekday as a decimal (0-6, Sunday being 0) &lt;br /&gt;
//%W:        Week of year, Monday being first day (0-53) &lt;br /&gt;
//%x:        Standard date string &lt;br /&gt;
//%X:        Standard time string &lt;br /&gt;
//%y:        Year in decimal without century (0-99) &lt;br /&gt;
//%Y:        Year including century as decimal &lt;br /&gt;
//%z:        Offset from UTC (added by C99) &lt;br /&gt;
//%Z:        Time zone name &lt;br /&gt;
//%%:        The percent sign &lt;br /&gt;
&lt;br /&gt;
  #include &amp;lt;time.h&amp;gt;&lt;br /&gt;
  #include &amp;lt;stdio.h&amp;gt;&lt;br /&gt;
  int main(void)&lt;br /&gt;
  {&lt;br /&gt;
    struct tm *ptr;&lt;br /&gt;
    time_t lt;&lt;br /&gt;
    char str[80];&lt;br /&gt;
    lt = time(NULL);&lt;br /&gt;
    ptr = localtime(&amp;amp;lt);&lt;br /&gt;
    strftime(str, 100, &amp;quot;It is now %H %p.&amp;quot;, ptr);&lt;br /&gt;
    printf(str);&lt;br /&gt;
    return 0;&lt;br /&gt;
  }&lt;br /&gt;
         &lt;br /&gt;
/*&lt;br /&gt;
It is now 16 PM.*/ &lt;br /&gt;
           &lt;br /&gt;
       &amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Admin</name></author>	</entry>

	</feed>