PHP timezone_name_get() 函數
PHP timezone_name_get() 函數
定義和用法
timezone_name_get() 返回時區的名稱。
語法
timezone_name_get(object);
參數 | 描述 |
---|---|
object | 必需。規定一個 DateTimeZone 對象。 |
技術細節
返回值: | 從時區列表中返回時區的名稱。 |
---|---|
PHP 版本: | 5.2+ |

相關文章
- PHP EOF(heredoc) 使用說明
- PHP 數據類型
- PHP 數組排序
- PHP 超級全局變量
- PHP 魔術常量
- PHP 多維數組
- PHP 高級過濾器
- PHP array_count_values() 函數
- PHP array_key_exists() 函數
- PHP array_rand() 函數
- PHP array_search() 函數
- PHP array_udiff() 函數
- PHP array_uintersect_uassoc() 函數
- PHP array_unshift() 函數
- PHP asort() 函數
- PHP compact() 函數
- PHP pos() 函數
- PHP uksort() 函數
- PHP 5 Array 函數
- PHP Error 和 Logging 函數