I have a website based on MVC and I am using DateTime.Now for time operations like countdowns. But sometimes there can be a difference between users' devices and the server. For example:
Device time: 12/4/2019 4:22:46 PM
Server time: 12/4/2019 4:22:38 PM
And this time difference is a huge problem for me. I've searched and couldn't find anything about it, but is there any way to get server's date and time?
PS: This can be done via javascript or jQuery, either.