Elgg  Version 6.2
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

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

Definition at line 21 of file date.php.

◆ $format

$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

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

Definition at line 13 of file date.php.

◆ try

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

Definition at line 18 of file date.php.