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で日付/時刻を表示する方法はありますが、IPを指定すると別のサーバーから取得できますか?
タイムゾーンを使用することをお勧めします。
$now = new DateTime(null, new DateTimeZone('America/Toronto')); $now->setTimezone(new DateTimeZone('Europe/London')); echo now->format('Y-m-d H:i:s);