UNB Components Code Reference

UnbUi::DateTime method

Gets a formatted date time value.

public static function UnbUi::DateTime ($time, $seconds = false, $html = false);

Parameters

time

(int) UNIX timestamp

seconds  –  optional, default: false

(bool) Include seconds in output

html  –  optional, default: false

(bool) true for HTML-encoded output, false otherwise

Member of class: UnbUi

Implementation file: ui.class.php, line 391

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