Skip to content

Instantly share code, notes, and snippets.

Matt Royce Vyygir

View GitHub Profile
Vyygir / time_elapsed_string.php
Last active Feb 10, 2017 — forked from zachstronaut/gist:1184831
Get a relative time string in PHP without a lot of if/else or switch/case
View time_elapsed_string.php
* time_elapsed_string()
* @author Zachary Johnson
* @link
* @author Vyygir
* @link
* @description I had to modify this slightly from the previous version, as it was causing errors
You can’t perform that action at this time.