/** * return a string with time */ public static function time_($time, $format = False) { switch (gettype($time)) { case 'integer': return phpgwapi_sql::int_time2str($time, $format); default: return phpgwapi_sql::str_time2int($time, $format); } }