Skip to content

Commit 8c740d3

Browse files
committed
Fix method name to 'toDateString()' in Date and Times user guide
1 parent 17abcc5 commit 8c740d3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

user_guide_src/source/libraries/time.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ toDateString()
177177
Displays just the date portion of the Time::
178178

179179
$time = Time::parse('March 9, 2016 12:00:00', 'America/Chicago');
180-
echo $time->toDateTimeString(); // 2016-03-09
180+
echo $time->toDateString(); // 2016-03-09
181181

182182
toTimeString()
183183
--------------

0 commit comments

Comments
 (0)