Date/Time
PHP Manual

کلاس DateInterval

Introduction

نمایش بازه زمانی. بازه تاریخی در زمان ثابتی (بصورت سال، ماه، روز، ساعت،...) یا رشته زمان نسبی در قالب پشتیبانی شده توسط سازنده DateTime را نمایش می‌دهد.

Class synopsis

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

Table of Contents


Date/Time
PHP Manual