19 declare(strict_types=1);
    30     protected string $time = 
"00:00:00";
    41         string $a_postvar = 
""    45         $this->
lng = $DIC->language();
    46         $this->
user = $DIC->user();
    62         $this->date = $a_date;
    72         $this->showtime = $a_showtime;
    82         $this->startyear = $a_year;
    97         $this->minute_step_size = $a_step_size;
   107         $this->showseconds = $a_showseconds;
   117         $incoming = $a_values[$this->
getPostVar()] ?? 
"";
   121             $item->setValueByArray($a_values);
   169             $this->invalid_input = 
$post;
   182         if ($this->valid && $this->
getDate() !== null) {
   187             return $this->
getDate()->get($post_format);
   194         $this->side_by_side = $a_val;
   220         $tpl = 
new ilTemplate(
"tpl.prop_datetime.html", 
true, 
true, 
"Services/Form");
   225             $tpl->setVariable(
'DATEPICKER_ID', $picker_id);
   237             $tpl->setVariable(
'DATEPICKER_DISABLED', 
'disabled="disabled" ');
   242         $tpl->setVariable(
'PLACEHOLDER', $pl_format);
   251         $date_value = htmlspecialchars($this->invalid_input);
   258         $tpl->setVariable(
'DATEPICKER_VALUE', $date_value);
   259         $tpl->setVariable(
'DATE_ID', $this->
getPostVar());
   262             $tpl->setVariable(
"REQUIRED", 
"required=\"required\"");
   312         $tmp = unserialize($a_data);
   315             if (is_object($tmp)) {
 parseCurrentBlock(string $part=ilGlobalTemplateInterface::DEFAULT_BLOCK)
 
static addDateTimePicker(string $a_id, ?int $a_add_time=null, ?array $a_custom_config=null, ?string $a_id2=null, ?array $a_custom_config2=null, ?string $a_toggle_id=null, ?string $a_subform_id=null)
Add date time picker to element. 
 
txt(string $a_topic, string $a_default_lang_fallback_mod="")
gets the text for a given topic if the topic is not in the list, the topic itself with "-" will be re...
 
static getUserDateFormat(int $a_add_time=0, bool $a_for_parsing=false)
Parse current user setting into date/time format. 
 
setVariable($variable, $value='')
Sets a variable value. 
 
setCurrentBlock(string $part=ilGlobalTemplateInterface::DEFAULT_BLOCK)
 
static parseIncomingDate($a_value, bool $a_add_time=false)
Try to parse incoming value to date object. 
 
static getCodeForPicker(string $a_id, ?int $a_add_time=null, ?array $a_custom_config=null, ?string $a_id2=null, ?array $a_custom_config2=null, ?string $a_toggle_id=null, ?string $a_subform_id=null)
Add date time picker to element.