Elgg  Version 4.3
datetime-local.php
Go to the documentation of this file.
1 <?php
9 $vars['format'] = elgg_extract('format', $vars, "Y-m-d H:i");
10 
11 echo elgg_view("output/date", $vars);
$vars['class']
Elgg datetime-local input Displays a datetime-local input field.
elgg_extract($key, $array, $default=null, $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.
Definition: elgglib.php:547
elgg echo
Translates a string.
Definition: deprecated.js:530
elgg_view($view, $vars=[], $viewtype= '')
Return a parsed view.
Definition: views.php:179