Skip to content

Commit fab833c

Browse files
authored
Merge pull request #2352 from musmanikram/2351-update-method-name-in-time-and-dates-docs
Fix method name to 'toDateString()' in Date and Times user guide
2 parents 17abcc5 + 8c740d3 commit fab833c

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)