reference/datetime/functions/gmstrftime.xml
5c951013ca04161992efed8b86fb40f55669958e
...
...
@@ -28,6 +28,13 @@
28
28
"Dec 31 1998 20:00:00", while the second prints "Jan 01 1999
29
29
01:00:00".
30
30
</para>
31
+
<warning>
32
+
<para>
33
+
This function depends on operating system locale information, which might
34
+
be inconsistent with each other, or not available at all. Instead use the
35
+
<methodname>IntlDateFormatter::format</methodname> method.
36
+
</para>
37
+
</warning>
31
38
</refsect1>
32
39

33
40
<refsect1 role="parameters">
...
...
@@ -105,6 +112,8 @@ echo gmstrftime("%b %d %Y %H:%M:%S", mktime(20, 0, 0, 12, 31, 98)) . "\n";
105
112
&reftitle.seealso;
106
113
<para>
107
114
<simplelist>
115
+
<member><methodname>IntlDateFormatter::format</methodname></member>
116
+
<member><methodname>DateTimeInterface::format</methodname></member>
108
117
<member><function>strftime</function></member>
109
118
</simplelist>
110
119
</para>
111
120