<?PHPの date_default_timezone_set( 'PRC'); // 默认时区 エコー "今天:"、日付( "はYmd"、時間())、 "<BR>" 。 エコー "今天:"、日付( "はYmd"、のstrtotime( "2008年6月18日"))、 "<BR>" 。 エコー "昨天:"、日付( "はYmd"、のstrtotime( "-1日"))、 "<BR>" 。 エコー "明天:"、日付( "はYmd"、のstrtotime( "1日"))、 "<BR>" 。 エコー "后一周:"、日付( "はYmd"、のstrtotime( "1週間"))、 "<BR>" 。 エコーstrtotime( "1月")) "<BR>"。; エコー "后十年:"。日付( "はYmd"、 strtotime( "10年")) "<BR>"。; エコー(のstrtotime(」2020年5月20日') -のstrtotime(日付( 『はYmd』)))/ 86400; ?>