Quantcast
Channel: Active questions tagged javascript - Stack Overflow
Viewing all articles
Browse latest Browse all 142382

How to get current date without using host system's date and time

$
0
0

I'm writing a node.js package that I want to distribute. I want a function to run at a certain time... but I don't want to use the client machine to determine date - rather I don't want this to be alterable.

Basically the script should break after a certain date and should not be able to be reverse by changing the PC's time. Is this possible?

P.S. I have no desire to create another server to serve this date. But that's the outcome I want to achieve.


Viewing all articles
Browse latest Browse all 142382

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>