Home > php教程 > php手册 > php设置中国时区

php设置中国时区

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-13 10:38:54
Original
1225 people have browsed it

php程序代码添加

date_default_timezone_set(Asia/Chongqing);

date_default_timezone_set(Asia/Hong_Kong);


配置文件php.ini修改

去掉# 修改

date.timezone= Asia/Hong_Kong

  • 来源: 编程之家
  • source:php.cn
    Statement of this Website
    The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
    Latest Issues
    PHP-Datenerfassung?
    From 1970-01-01 08:00:00
    0
    0
    0
    pemerolehan data php?
    From 1970-01-01 08:00:00
    0
    0
    0
    PHP 데이터 수집?
    From 1970-01-01 08:00:00
    0
    0
    0
    Popular Recommendations
    Popular Tutorials
    More>
    Latest Downloads
    More>
    Web Effects
    Website Source Code
    Website Materials
    Front End Template