diff --git a/user_guide_src/source/libraries/time.rst b/user_guide_src/source/libraries/time.rst index d36f61a4105c..94e1ded002d2 100644 --- a/user_guide_src/source/libraries/time.rst +++ b/user_guide_src/source/libraries/time.rst @@ -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() --------------