phpday 2021 digital edition


(PHP 5, PHP 7, PHP 8)

variant_date_from_timestampReturns a variant date representation of a Unix timestamp


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.



A unix timestamp.


Returns a VT_DATE variant.

Siehe auch

  • variant_date_to_timestamp() - Converts a variant date/time value to Unix timestamp
  • mktime() - Gibt den Unix-Timestamp/Zeitstempel für ein Datum zurück
  • time() - Gibt den aktuellen Unix-Timestamp/Zeitstempel zurück

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top