I create a date string like $datestring = (new DateTimeImmutable())->format('Ymd-Hi');
yet in different PHP files (called directly or over JavaScript fetch) these are rendered two hours apart (timezone + DTS?). Where does PHP get the timezone?
I create a date string like $datestring = (new DateTimeImmutable())->format('Ymd-Hi');
yet in different PHP files (called directly or over JavaScript fetch) these are rendered two hours apart (timezone + DTS?). Where does PHP get the timezone?