variant_date_from_timestamp
(PHP 5, PHP 7, PHP 8)
variant_date_from_timestamp — Returns a variant date representation of a Unix timestamp
说明
Converts timestamp
from a unix timestamp value
into a variant of type VT_DATE
. This allows easier
interopability between the unix-ish parts of PHP and COM.
参数
timestamp
-
A unix timestamp.
返回值
Returns a VT_DATE
variant.
参见
- variant_date_to_timestamp() - Converts a variant date/time value to Unix timestamp
- mktime() - 取得一个日期的 Unix 时间戳
- time() - 返回当前的 Unix 时间戳
+添加备注
用户贡献的备注
此页面尚无用户贡献的备注。
备份地址:http://www.lvesu.com/blog/php/function.variant-date-from-timestamp.php