Skip to content

Commit 12c3795

Browse files
authored
Date and Time - talk about Carbon
1 parent 8443cdc commit 12c3795

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

_posts/05-03-01-Date-and-Time.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ foreach ($periodIterator as $date) {
6060
}
6161
{% endhighlight %}
6262

63+
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.
64+
6365
* [Read about DateTime][datetime]
6466
* [Read about date formatting][dateformat] (accepted date format string options)
6567

0 commit comments

Comments
 (0)