Learn about the different ways to get the current date and time in PHP and some additional considerations when working with time in PHP.
Quick Tip: How to Get the Current Date in PHP
Time Ago: How to Display Publish Dates as Time Since Posted
Osvaldas Valutis explains a simple technique for keeping your publish dates fresh and up to date.
Suggesting Carbon with Composer – Date and Time the Right Way
Bruno looks at Carbon, a library extending the basic DateTime PHP class, and implements it in a live project instead of pure string outputs of dates!
How To Synchronize Your PHP and MySQL Timezones
Handling dates in PHP and MySQL is difficult unless timezones match. This tutorial provides code which should help solve date/time problems in your application.
Is Your PHP Application Affected by the Y2K38 Bug?