ILIAS  trunk Revision v11.0_alpha-2638-g80c1d007f79
class.ilDclDatetimeRecordRepresentation.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 {
23  public function getHTML(bool $link = true, array $options = []): string
24  {
25  $value = $this->getRecordField()->getValue();
26  if ($value == null) {
27  return $this->lng->txt('no_date');
28  }
29 
30  return date($this->user->getDateTimeFormat()->toString(), strtotime($value));
31  }
32 }
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null