diff --git a/user_guide_src/source/libraries/time.rst b/user_guide_src/source/libraries/time.rst index c9baf8a8f597..2175a8c681a3 100644 --- a/user_guide_src/source/libraries/time.rst +++ b/user_guide_src/source/libraries/time.rst @@ -22,8 +22,12 @@ Instantiating ************* There are several ways that a new Time instance can be created. The first is simply to create a new instance -like any other class. When you do it this way, you can pass in a string representing the desired time. This can -be any string that PHP's strtotime function can parse: +like any other class. + +When you do it this way, you can pass in a string representing the desired time. This can +be any string that PHP's `strtotime()`_ function can parse: + +.. _strtotime(): https://www.php.net/manual/en/function.strtotime.php .. literalinclude:: time/001.php @@ -159,7 +163,7 @@ toDateTimeString() ================== This is the first of three helper methods to work with the `IntlDateFormatter `_ without having to remember their values. -This will return a localized version of string formatted as (Y-m-d H:i:s): +This will return a localized version of string formatted as (``Y-m-d H:i:s``): .. literalinclude:: time/016.php