Skip to content

Commit

Permalink
Fix method name to 'toDateString()' in Date and Times user guide
Browse files Browse the repository at this point in the history
  • Loading branch information
musmanikram committed Oct 20, 2019
1 parent 17abcc5 commit 8c740d3
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 8c740d3

Please sign in to comment.