From 12c37951ef82491e7d7310c4072465249fdea426 Mon Sep 17 00:00:00 2001 From: William Turrell Date: Thu, 29 Sep 2016 13:38:51 +0100 Subject: [PATCH] Date and Time - talk about Carbon --- _posts/05-03-01-Date-and-Time.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/_posts/05-03-01-Date-and-Time.md b/_posts/05-03-01-Date-and-Time.md index 93f043a..8c826c0 100644 --- a/_posts/05-03-01-Date-and-Time.md +++ b/_posts/05-03-01-Date-and-Time.md @@ -60,6 +60,8 @@ foreach ($periodIterator as $date) { } {% endhighlight %} +A popular PHP API extension is [Carbon](http://carbon.nesbot.com). It inherits everything in the DateTime class, so involves minimal code alterations, but extra features include Localization support, further ways to add, subtract and format a DateTime object, plus a means to test your code by simulating a date and time of your choosing. + * [Read about DateTime][datetime] * [Read about date formatting][dateformat] (accepted date format string options)