How to get the names and abbreviations of a time zone in PHP?

前端 未结 5 1087
再見小時候
再見小時候 2020-12-16 14:31

Starting with a time zone identifier, such as \"America/Los_Angeles\", how do you find the names and abbreviations of that time zone in PHP? For example:

<
5条回答
  •  有刺的猬
    2020-12-16 15:03

    Looks like Symphony has methods for that, e.g. select_timezone_tag. You might check their source code to see how it's done.

提交回复
热议问题