Elgg  Version master
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, bool $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.
Definition: elgglib.php:254
elgg_view(string $view, array $vars=[], string $viewtype= '')
Return a parsed view.
Definition: views.php:156