Source for file translation.php
Documentation is available at translation.php
require_once 'Date/HumanDiff.php';
//alternatively, you may pass in a locale:
// $dh->setLocale('de_AT');//falls back to the "de" language
echo $dh->get (time() - 60 * 5 ) . "\n"; //shows "vor 5 Minuten"
Documentation generated on Mon, 11 Mar 2019 15:56:37 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|