I am building a PhoneGap app, which can only use HTML/CSS/JS, and I need to pull time from some centralized time server using strictly JAVASCRIPT, maybe somehow using JSON? AJAX? Point is I need a good server to use and how to set up the script – I feel like it is really easy but I just don’t know…
Share
A JavaScript library like http://jehiah.cz/a/ntp-for-javascript can grab from any public free NTP server. Just pick one and off you go!