code: public function setTimestampCreated($postTime)
      {
          if ($postTime instanceof DateTime) {
              $this->timestampCreated = $postTime;
          } else {
              $this->timestampCreated = new DateTime($postTime);
          }
          return $this;
      }
docs: Set postTime.
  
  @param mixed $postTime the value to be set