Elgg
Version 2.3
views
default
output
date.php
Go to the documentation of this file.
1
<?php
12
// convert timestamps to text for display
13
if
(is_numeric(
$vars
[
'value'
])) {
14
$vars
[
'value'
] = gmdate(
'Y-m-d'
,
$vars
[
'value'
]);
15
}
16
17
echo
$vars
[
'value'
];
$vars
$vars['class']
Elgg date input Displays a text field with a popup date picker.
Definition:
date.php:19
Generated on Fri Aug 29 2025 00:00:47 for Elgg by
1.9.1