Elgg  Version master
Variables
date.php File Reference

Go to the source code of this file.

Variables

 $format = elgg_extract('format', $vars, elgg_get_config('date_format', elgg_echo('input:date_format')), false)
 
 $value = elgg_extract('value', $vars)
 
if(!$valuetry
 
 $attributes
 

Variable Documentation

$attributes
Initial value:
= [
'datetime' => $dt->format('c')
$dt
Definition: time.php:70

Definition at line 21 of file date.php.

$format = elgg_extract('format', $vars, elgg_get_config('date_format', elgg_echo('input:date_format')), false)

Definition at line 11 of file date.php.

$value = elgg_extract('value', $vars)

Definition at line 13 of file date.php.

if (!$value) try
Initial value:
{
$value
Definition: date.php:41
$dt
Definition: time.php:70
static normalizeTime($time)
Returns DateTime object based on time representation.
Definition: Values.php:75

Definition at line 18 of file date.php.