var mindate = новая дата (selected.date.valueof ())

var selectedDate = new Date();
Vivacious Vendace