PHP Date range formatter

/ Published in: PHP
Save to your folder(s)

Takes one or two PHP timestamps, and returns a somewhat humanized string representing the date range

* Jun 7th, 2013
* Jun 7th-11th, 2013
* Jun 7th-Jul 3rd, 2013
* Jun 7th, 2013-Jan 1st, 2013

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.