Page MenuHomePhorge
Diviner Tech Docs phabricator_format_local_time

function phabricator_format_local_time($epoch, $user, $format)
Phorge Technical Documentation ()

This function does not usually need to be called directly. Instead, call phabricator_date(), phabricator_time(), or phabricator_datetime().

Parameters
int$epochUnix epoch timestamp.
PhabricatorUser$userUser viewing the timestamp.
string$formatDate format, as per DateTime class.
Return
stringFormatted, local date/time.