PHP Pretty Date
Developed by Zach Leatherman, listed in Date & Time
This PHP script is used to convert dates into a relative value. It is a port of John Resig’s JavaScript Pretty Date. The new DateTime object in PHP 5.1 parses strings using the strtotime, so users don’t need to pass in an ISO8601 formatted date, as in JavaScript Pretty Date. This means the library works with “now”, or “next Wednesday”, or “+2 weeks 4 days 23 hours 9 seconds.”
Requirements:
- PHP 5.1 or higher
License type: MIT License
Date added: 1 year, 3 months 28 days ago | Last updated: 1 year, 3 months 27 days ago
More popular Date & Time
- Ultimate PHP Date Time Script 1.0.0 (1 year, 8 months 17 days ago)
- Display human friendly relative dates and times 0.9 (1 year, 2 months 25 days ago)
- PHP dateRange Class 1.0 (1 year, 8 months 17 days ago)
- Opening hours 2.0 (1 year, 8 months 17 days ago)
- Timezone Selector 1.0 (2 years, 4 months 9 days ago)
Listing Files

Date_Difference.php- 14.2 KB
- 01/24/2011 17:10:06
