php8.5
Home/ Manual/ com / functions/ variant_date_from_timestamp

variant_date_from_timestamp

PHP function Edit on GitHub ✎

(PHP 5, PHP 7, PHP 8)

Returns a variant date representation of a Unix timestamp

Description

variant_date_from_timestamp(int $timestamp): variant

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.

Parameters

timestamp

A unix timestamp.

Return Values

Returns a VT_DATE variant.

See Also

Source: reference/com/functions/variant-date-from-timestamp.xml · from the official PHP manual (php/doc-en)