Zrób kopię daty JavaScript
var date = new Date();
var copiedDate = new Date(date.getTime());
Thankful Teira
var date = new Date();
var copiedDate = new Date(date.getTime());