Using time slots like EST, CET, PST in php

I want to use timezones that are under Others section in php, like EST, PST, CET, but there is a warning, to .. so what an alternative if I really need them? Is it safe to use them despite the warning?

+3


source to share


1 answer


So, as mentioned in the comments already with CST

or EST

, ... it's not clear what exactly you mean, because there are multiple values ​​for them, as you can see in this list here.



So, either use the notation: -0500

or provide your location (for example America/New_York

) with one of the supported time zones that you can see here .

0


source







All Articles