Gutenberg DatePicker component with time set to zero

I managed to find the solution myself. You need to modify the onUpdateStartDate() function:

function onUpdateStartDate(value) {
    const date = new Date(value);
    date.setHours(0, 0, 0, 0);
    setMeta({ ...meta, '_my_start_date': date });
}

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)