예제 #1
0
/**
 * Get formatted date-time string
 *
 * @param int $unixTimestamp Unix timestamp.
 * @param string $context A context: "Ip", "Ip-admin" or plugin's name.
 * @param string $languageCode
 * @return bool|mixed|null|string A date-time string formatted according to country format.
 */
function ipFormatDateTime($unixTimestamp, $context, $languageCode = null)
{
    return \Ip\Internal\FormatHelper::formatDateTime($unixTimestamp, $context, $languageCode);
}