closestdate/closestdate

Utility class for find the closest date in PHP 5.3+

1.1.0 2013-05-01 19:06 UTC

README

Join the chat at https://gitter.im/lordoffreaks/ClosestDate

PHP utility class for getting the nearest date among an array of dates.

Features

  • Suppor for custom dates (not just "today".
  • Support for prevalence on past dates or future dates.

Build Status