JavaScript Uzyskaj datę bez czasu
function WithoutTime(dateTime) {
var date = new Date(dateTime.getTime());
date.setHours(0, 0, 0, 0);
return date;
}
Sironicas
function WithoutTime(dateTime) {
var date = new Date(dateTime.getTime());
date.setHours(0, 0, 0, 0);
return date;
}
Mon May 30 2022 18:55:48 GMT+0530 (India Standard Time) {}