• + 1 comment

    JavaScript

    function dayOfProgrammer(year) {
        return ((year >= 1700 && year < 1918 && year % 4 == 0)
            || (year > 1918 && year <= 2700 && (year % 400 == 0 || (year % 4 == 0 && year % 100 != 0)))
            ? "12" : (year == "1918") ? "26" : "13") + ".09." + year;
    }