e.getFullYear();
        return year
    };

    function screenshot(classname,downloadname) {
        let container = document.getElementsByClassName(classname); //page-wrapper
        html2canvas(container[0]).then(canvas => {
            let imgData = canvas.toDataURL();
            let link = document.createElement('a');
            link.href = imgData;
            link.download = downloadname;
            let flag = link.click();
            console.log(flag);
        })
    }

    function options(typ