. */ declare(strict_types=1); namespace Fisharebest\Webtrees\Elements; use Fisharebest\Webtrees\Tree; use function date; use function strtoupper; /** * DATE_VALUE := {Size=1:35} */ class DateValueToday extends DateValueExact { /** * Create a default value for this element. * * @param Tree $tree * * @return string */ public function default(Tree $tree): string { return strtoupper(date('d M Y')); } }