Skip to content

Commit

Permalink
Merge pull request #2352 from musmanikram/2351-update-method-name-in-…
Browse files Browse the repository at this point in the history
…time-and-dates-docs

Fix method name to 'toDateString()' in Date and Times user guide
  • Loading branch information
jim-parry authored Oct 20, 2019
2 parents 17abcc5 + 8c740d3 commit fab833c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion user_guide_src/source/libraries/time.rst
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ toDateString()
Displays just the date portion of the Time::

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

toTimeString()
--------------
Expand Down

0 comments on commit fab833c

Please sign in to comment.