允许在客户区域内输出之前转换日期/时间。
参数
变量 | 类型 | 注意 |
---|---|---|
date | \Carbon | 表示日期/时间的 Carbon 对象。 |
响应
返回包含要显示的格式化日期和时间的字符串。
示例代码
<?php
add_hook('FormatDateTimeForClientAreaOutput', 1, function ($vars) {
// Perform hook code here...
});
相关用法
- PHP WHMCS FormatDateForClientAreaOutput用法及代码示例
- PHP FilesystemIterator __construct()用法及代码示例
- PHP WHMCS FraudCheckAwaitingUserInput用法及代码示例
- PHP WHMCS FraudOrder用法及代码示例
- PHP FilesystemIterator getFlags()用法及代码示例
- PHP FilesystemIterator next()用法及代码示例
- PHP FrenchToJD()用法及代码示例
- PHP WHMCS FileDownload用法及代码示例
- PHP FilesystemIterator rewind()用法及代码示例
- PHP FilesystemIterator key()用法及代码示例
- PHP WHMCS FraudCheckFailed用法及代码示例
- PHP WHMCS FraudCheckPassed用法及代码示例
- PHP FilesystemIterator current()用法及代码示例
- PHP FilesystemIterator setFlags()用法及代码示例
- PHP WHMCS FetchCurrencyExchangeRates用法及代码示例
- PHP WHMCS ClientAreaPageDownloads用法及代码示例
- PHP Ds\Map isEmpty()用法及代码示例
- PHP PHPUnit assertIsNotFloat()用法及代码示例
- PHP disk_total_space()用法及代码示例
- PHP ReflectionClass getTraitAliases()用法及代码示例
- PHP hash_hmac()用法及代码示例
- PHP String wordwrap()用法及代码示例
- PHP XMLWriter endPi()用法及代码示例
- PHP SimpleXMLElement children()用法及代码示例
- PHP IntlCalendar getTimeZone()用法及代码示例
注:本文由纯净天空筛选整理自whmcs.com大神的英文原创作品 FormatDateTimeForClientAreaOutput。非经特殊声明,原始代码版权归原作者所有,本译文未经允许或授权,请勿转载或复制。