<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ru">
		<id>http://www.sqle.ru/index.php?action=history&amp;feed=atom&amp;title=MySQL_Tutorial%2FDate_Time_Functions%2FSTR_TO_DATE</id>
		<title>MySQL Tutorial/Date Time Functions/STR TO DATE - История изменений</title>
		<link rel="self" type="application/atom+xml" href="http://www.sqle.ru/index.php?action=history&amp;feed=atom&amp;title=MySQL_Tutorial%2FDate_Time_Functions%2FSTR_TO_DATE"/>
		<link rel="alternate" type="text/html" href="http://www.sqle.ru/index.php?title=MySQL_Tutorial/Date_Time_Functions/STR_TO_DATE&amp;action=history"/>
		<updated>2026-05-25T03:23:27Z</updated>
		<subtitle>История изменений этой страницы в вики</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>http://www.sqle.ru/index.php?title=MySQL_Tutorial/Date_Time_Functions/STR_TO_DATE&amp;diff=436&amp;oldid=prev</id>
		<title> в 13:44, 26 мая 2010</title>
		<link rel="alternate" type="text/html" href="http://www.sqle.ru/index.php?title=MySQL_Tutorial/Date_Time_Functions/STR_TO_DATE&amp;diff=436&amp;oldid=prev"/>
				<updated>2010-05-26T13:44: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;Версия 13:44, 26 мая 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://www.sqle.ru/index.php?title=MySQL_Tutorial/Date_Time_Functions/STR_TO_DATE&amp;diff=437&amp;oldid=prev</id>
		<title>Admin: 1 версия</title>
		<link rel="alternate" type="text/html" href="http://www.sqle.ru/index.php?title=MySQL_Tutorial/Date_Time_Functions/STR_TO_DATE&amp;diff=437&amp;oldid=prev"/>
				<updated>2010-05-26T09:50:32Z</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;== SELECT STR_TO_DATE(&amp;quot;00/00/0000&amp;quot;, &amp;quot;%m/%d/%Y&amp;quot;);==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
  &amp;lt;!-- start source code --&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
    &amp;lt;source lang=&amp;quot;sql&amp;quot;&amp;gt;&lt;br /&gt;
mysql&amp;gt;&lt;br /&gt;
mysql&amp;gt; SELECT STR_TO_DATE(&amp;quot;00/00/0000&amp;quot;, &amp;quot;%m/%d/%Y&amp;quot;);&lt;br /&gt;
+---------------------------------------+&lt;br /&gt;
| STR_TO_DATE(&amp;quot;00/00/0000&amp;quot;, &amp;quot;%m/%d/%Y&amp;quot;) |&lt;br /&gt;
+---------------------------------------+&lt;br /&gt;
| 0000-00-00                            |&lt;br /&gt;
+---------------------------------------+&lt;br /&gt;
1 row in set (0.00 sec)&lt;br /&gt;
mysql&amp;gt;&amp;lt;/source&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
== SELECT STR_TO_DATE(&amp;quot;04/31/2004&amp;quot;, &amp;quot;%m/%d/%Y&amp;quot;);==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
  &amp;lt;!-- start source code --&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
    &amp;lt;source lang=&amp;quot;sql&amp;quot;&amp;gt;&lt;br /&gt;
mysql&amp;gt;&lt;br /&gt;
mysql&amp;gt; SELECT STR_TO_DATE(&amp;quot;04/31/2004&amp;quot;, &amp;quot;%m/%d/%Y&amp;quot;);&lt;br /&gt;
+---------------------------------------+&lt;br /&gt;
| STR_TO_DATE(&amp;quot;04/31/2004&amp;quot;, &amp;quot;%m/%d/%Y&amp;quot;) |&lt;br /&gt;
+---------------------------------------+&lt;br /&gt;
| 2004-04-31                            |&lt;br /&gt;
+---------------------------------------+&lt;br /&gt;
1 row in set (0.00 sec)&lt;br /&gt;
mysql&amp;gt;&amp;lt;/source&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
== STR_TO_DATE(str,format)==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;STR_TO_DATE(str,format) is the inverse of the DATE_FORMAT() function.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;STR_TO_DATE() returns a DATETIME value.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;The following specifiers may be used in the format string.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;The &amp;quot;%&amp;quot; character is required before format specifier characters.&amp;lt;/p&amp;gt;&lt;br /&gt;
Specifier&lt;br /&gt;
Description&lt;br /&gt;
%a&lt;br /&gt;
Abbreviated weekday name (Sun..Sat)&lt;br /&gt;
%b&lt;br /&gt;
Abbreviated month name (Jan..Dec)&lt;br /&gt;
%c&lt;br /&gt;
Month, numeric (0..12)&lt;br /&gt;
%D&lt;br /&gt;
Day of the month with English suffix (0th, 1st, 2nd, 3rd, ?-)&lt;br /&gt;
%d&lt;br /&gt;
Day of the month, numeric (00..31)&lt;br /&gt;
%e&lt;br /&gt;
Day of the month, numeric (0..31)&lt;br /&gt;
%f&lt;br /&gt;
Microseconds (000000..999999)&lt;br /&gt;
%H&lt;br /&gt;
Hour (00..23)&lt;br /&gt;
%h&lt;br /&gt;
Hour (01..12)&lt;br /&gt;
%I&lt;br /&gt;
Hour (01..12)&lt;br /&gt;
%i&lt;br /&gt;
Minutes, numeric (00..59)&lt;br /&gt;
%j&lt;br /&gt;
Day of year (001..366)&lt;br /&gt;
%k&lt;br /&gt;
Hour (0..23)&lt;br /&gt;
%l&lt;br /&gt;
Hour (1..12)&lt;br /&gt;
%M&lt;br /&gt;
Month name (January..December)&lt;br /&gt;
%m&lt;br /&gt;
Month, numeric (00..12)&lt;br /&gt;
%p&lt;br /&gt;
AM or PM&lt;br /&gt;
%r&lt;br /&gt;
Time, 12-hour (hh:mm:ss followed by AM or PM)&lt;br /&gt;
%S&lt;br /&gt;
Seconds (00..59)&lt;br /&gt;
%s&lt;br /&gt;
Seconds (00..59)&lt;br /&gt;
%T&lt;br /&gt;
Time, 24-hour (hh:mm:ss)&lt;br /&gt;
%U&lt;br /&gt;
Week (00..53), where Sunday is the first day of the week&lt;br /&gt;
%u&lt;br /&gt;
Week (00..53), where Monday is the first day of the week&lt;br /&gt;
%V&lt;br /&gt;
Week (01..53), where Sunday is the first day of the week; used with %X&lt;br /&gt;
%v&lt;br /&gt;
Week (01..53), where Monday is the first day of the week; used with %x&lt;br /&gt;
%W&lt;br /&gt;
Weekday name (Sunday..Saturday)&lt;br /&gt;
%w&lt;br /&gt;
Day of the week (0=Sunday..6=Saturday)&lt;br /&gt;
%X&lt;br /&gt;
Year for the week where Sunday is the first day of the week, numeric, four digits; used with %V&lt;br /&gt;
%x&lt;br /&gt;
Year for the week, where Monday is the first day of the week, numeric, four digits; used with %v&lt;br /&gt;
%Y&lt;br /&gt;
Year, numeric, four digits&lt;br /&gt;
%y&lt;br /&gt;
Year, numeric (two digits)&lt;br /&gt;
%%&lt;br /&gt;
A literal &amp;quot;%&amp;quot; character&lt;br /&gt;
%x&lt;br /&gt;
x, for any &amp;quot;x&amp;quot; not listed above&lt;br /&gt;
&lt;br /&gt;
== To convert a year-week to a date, then you should also specify the weekday:==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
  &amp;lt;!-- start source code --&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
    &amp;lt;source lang=&amp;quot;sql&amp;quot;&amp;gt;&lt;br /&gt;
mysql&amp;gt;&lt;br /&gt;
mysql&amp;gt;&lt;br /&gt;
mysql&amp;gt; SELECT STR_TO_DATE(&amp;quot;200442 Monday&amp;quot;, &amp;quot;%X%V %W&amp;quot;);&lt;br /&gt;
+-----------------------------------------+&lt;br /&gt;
| STR_TO_DATE(&amp;quot;200442 Monday&amp;quot;, &amp;quot;%X%V %W&amp;quot;) |&lt;br /&gt;
+-----------------------------------------+&lt;br /&gt;
| 2004-10-18                              |&lt;br /&gt;
+-----------------------------------------+&lt;br /&gt;
1 row in set (0.00 sec)&lt;br /&gt;
mysql&amp;gt;&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Admin</name></author>	</entry>

	</feed>