Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
PHP Webアプリケーションを構築していますが、現在の日付/時刻を知る必要があります。サーバーの設定に頼ることはできません。使用できるWebサービスはありますか?Webサービスを介して時刻にアクセスするのに多少の遅延があることはわかっていますが、最後の1ミリ秒まで正確ではないもので問題ありません。
はい、パブリックNTPサーバーから取得します。
ここでPHPの実装を見てください:
http://www.kloth.net/software/timesrv1.php