0👍
Oke… I get an answer
I create a function to get accurate date, and I convert the value to timestamp, the user will no longer be able to manipulate the date 😀 But in console.log says: Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user’s experience. xD
createServerTime(){
const xhr = new XMLHttpRequest();
xhr.open('GET', location.href, false);
xhr.setRequestHeader('Content-Type', 'text/html');
xhr.send('');
console.log(xhr.getResponseHeader('Date'))
}
Source:stackexchange.com