We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Pdo\Dblib::ATTR_DATETIME_CONVERT
1 parent 75a76af commit 608815bCopy full SHA for 608815b
1 file changed
reference/pdo_dblib/pdo-dblib.xml
@@ -142,6 +142,13 @@
142
<term><constant>Pdo\Dblib::ATTR_DATETIME_CONVERT</constant></term>
143
<listitem>
144
<simpara>
145
+ This connection attribute controls the format of strings for datetime
146
+ types. When this is &false;, PDO_DBLIB will return a datetime type as a
147
+ string in the format that SQL Server returns it in (i.e.
148
+ <literal>"2017-10-27 10:22:44"</literal>). When &true;, PDO_DBLIB will
149
+ convert the datetime type into a string using a user-defined or locale
150
+ format, as specified in the FreeTDS <filename>locales.conf</filename>
151
+ file. By default, this attribute is &false;.
152
</simpara>
153
</listitem>
154
</varlistentry>
0 commit comments