function phabricator_format_local_time($epoch, $user, $format)Phorge Technical Documentation ()
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 | $epoch | Unix epoch timestamp. |
PhabricatorUser | $user | User viewing the timestamp. |
string | $format | Date format, as per DateTime class. |
Return
string | Formatted, local date/time. |
- Defined
- src/view/viewutils.php:112