vlibDate

vLIB logo

6.10. fromUnixTime()

Function Description
  fromUnixTime(int unixtime)

Returns a vlibDate timestamp for the given unix timestamp.

The returned timestamp is a vlibDate timestamp. For more information on this, please see the IMPORTANT section.

Example

   $today = $date->fromUnixTime(time());