UNB Components Code Reference

UnbUi::RelativeTime method

Gets a relative time description.

public static function UnbUi::RelativeTime ($time, $valueOnly = false);

Parameters

time

(int) UNIX timestamp

valueOnly  –  optional, default: false

(bool) true to return the time only, false to include the word "ago"

Member of class: UnbUi

Implementation file: ui.class.php, line 415

© 2011 Yves Goergen. UNB Components Homepage. Reference generated on 2011-02-06.