日期/时间
PHP Manual

The DateTimeInterface interface

(PHP 5 >= 5.5.0)

简介

类摘要

DateTimeInterface {
/* 方法 */
public DateInterval diff ( DateTimeInterface $datetime2 [, bool $absolute = false ] )
public string format ( string $format )
public int getOffset ( void )
public int getTimestamp ( void )
public DateTimeZone getTimezone ( void )
public __wakeup ( void )
}

Table of Contents


日期/时间
PHP Manual