Micrel Launches Breakthrough ClockWorks(TM) Flex Product Family
Highly Configurable Programmable Clock Synthesizer Family That Breaks the 100 Femto-Second Jitter Barrier
[phpzon]server based time clock, 5, Electronics[/phpzon]
[phpbay]server based time clock, 30, "11211"[/phpbay]
For a webpage, I have a form that is time dependent. The problem is, the current date() function in javascript pulls the users clock - which can be manually changed. I was wondering if there was a way to have a seperate file or js code to read date() from my own server computer and have the form read that
Javascript is a client-side scripting language, meaning your code is read by the client's browser--nothing is run on the server. That's why it's getting the client's time, and that's why I don't think it's possible to get the server's time.
But! Here's a script that you could use.. it uses php to save the server time to a file, then returns the time to your script: