There is no way to retrieve actual date/time from your device alone unless its system time is accurate.
Using Javascript (and a bit of help from Fetch API), you can always get current time from the third-party services like this.
World Time API
fetch('http://worldtimeapi.org/api/timezone/Europe/Belgrade')
.then(response => response.json())
.then(data => console.log(data));
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…