Date/Time
PHP Manual

The DateInterval class

Introduction

Representation of date interval.

Class synopsis

DateInterval
DateInterval {
/* Methods */
__construct ( string $interval_spec )
public static DateInterval createFromDateString ( string $time )
public string format ( void )
}

Table of Contents


Date/Time
PHP Manual