Tag Archives: Dates
PHP Pretty Date
This class is pretty much a direct port of John Resig’s JavaScript Pretty Date to PHP 5. A few notes: Requires PHP >= 5.10, due to the usage of PHP’s new DateTimeclass. The new DateTime object parses strings using PHP’s strtotime, so you don’t need to pass in an ISO8601 formatted date, as in JavaScript [...]

Subscribe
Follow
Yet Another Pretty Date JavaScript