Yngvarr

Generation

generate functionSun, 19 Mar 2023

domain age

function domain_age($domain) { $domain = DateTime::createFromFormat('Y-m-d', substr($domain, -10)); return $domain->diff(new DateTime())->format('%y'); }

Questions about programming?Chat with your personal AI assistant