reference/datetime/functions/getdate.xml
34188f8256bdc6f0e6e1965c2be94247997165b6
...
...
@@ -10,12 +10,12 @@
10
10
&reftitle.description;
11
11
<methodsynopsis>
12
12
<type>array</type><methodname>getdate</methodname>
13
-
<methodparam choice="opt"><type>int</type><parameter>timestamp</parameter><initializer>time()</initializer></methodparam>
13
+
<methodparam choice="opt"><type class="union"><type>int</type><type>null</type></type><parameter>timestamp</parameter><initializer>&null;</initializer></methodparam>
14
14
</methodsynopsis>
15
15
<para>
16
16
Returns an associative <type>array</type> containing the date
17
17
information of the <parameter>timestamp</parameter>, or the current
18
-
local time if no <parameter>timestamp</parameter> is given.
18
+
local time if <parameter>timestamp</parameter> is omitted or &null;.
19
19
</para>
20
20
</refsect1>
21
21

...
...
@@ -116,6 +116,30 @@
116
116
</para>
117
117
</refsect1>
118
118

119
+
<refsect1 role="changelog">
120
+
&reftitle.changelog;
121
+
<para>
122
+
<informaltable>
123
+
<tgroup cols="2">
124
+
<thead>
125
+
<row>
126
+
<entry>&Version;</entry>
127
+
<entry>&Description;</entry>
128
+
</row>
129
+
</thead>
130
+
<tbody>
131
+
<row>
132
+
<entry>8.0.0</entry>
133
+
<entry>
134
+
<parameter>timestamp</parameter> is nullable now.
135
+
</entry>
136
+
</row>
137
+
</tbody>
138
+
</tgroup>
139
+
</informaltable>
140
+
</para>
141
+
</refsect1>
142
+

119
143
<refsect1 role="examples">
120
144
&reftitle.examples;
121
145
<para>
...
...
@@ -165,7 +189,6 @@ Array
165
189
</para>
166
190
</refsect1>
167
191
</refentry>
168
-

169
192
<!-- Keep this comment at the end of the file
170
193
Local variables:
171
194
mode: sgml
172
195