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 303

© 2010 Yves Goergen. UNB Components Homepage. Reference generated on 2010-03-07.