Date/Time
PHP Manual

The DateTimeInterface interface

(PHP 5 >= 5.5.0)

Introduction

Class synopsis

DateTimeInterface {
/* Methods */
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


Date/Time
PHP Manual