Hi all. I am
Sscefalix
> Full-stack developer
const birthDate = new Date("2008-08-04");
const currentDate = new Date();
const ageInMilliseconds = currentDate - birthDate;
const ageInYears = ageInMilliseconds / (1000 * 60 * 60 * 24 * 365.25);
const formattedAge = ageInYears.toFixed(8);
console.log("Мне" + formattedAge + " лет");
Мне 16.51029445 лет