public function set{%field%}Attr($value): ?string { return $value ? date('H:i:s', strtotime($value)) : $value; }