vlibDate

vLIB logo

6.29. daysToDate()

Function Description
  daysToDate (string timestamp [, string format])

Converts a number of days since a long distant epoch to a vlibDate timestamp or to a format specified by the format parameter.

The timestamp parameter is a vlibDate timestamp. For more information, please see the IMPORTANT section.

Example

   echo $date->>daysToDate($encoded);