Example #1
0
 /**
  * Returns a formatted date for meta information
  * @param $n (int) Object ID.
  * @param $timestamp (int) Timestamp to convert.
  * @return string escaped date string.
  * @protected
  * @since 4.6.028 (2009-08-25)
  */
 protected function _datestring($n = 0, $timestamp = 0)
 {
     if (empty($timestamp) or $timestamp < 0) {
         $timestamp = $this->doc_creation_timestamp;
     }
     return $this->_datastring('D:' . TCPDF_STATIC::getFormattedDate($timestamp), $n);
 }