Having read a question about the reliability of the PHP time function, I wondered if there was some kind of ‘reliable’ web API to retrieve time from.
Having read a question about the reliability of the PHP time function, I wondered
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Does it have to be a web API? Typically you’d use NTP instead. It’s a well-established protocol with plenty of freely accessible servers. It’s usually used for synchronization rather than obtaining the time once though. But if you use something similar to keep your system clock accurate, then accessing the time from something like PHP should be okay.
Could you explain more about exactly what problem you’re trying to solve?