date_add
date_date_set
Data/Czas
PHP Manual

# date_create

(PHP 5 >= 5.1.0)

date_create — Returns new DateTime object

### Opis

DateTime date_create ([ string `$time` [, DateTimeZone `$timezone` ]] )
DateTime DateTime::__construct ([ string `$time` [, DateTimeZone `$timezone` ]] )

### Parametry

`time`

  String in a format accepted by strtotime(), defaults to "now".

`timezone`

  Time zone of the time.

### Zwracane wartości

Returns DateTime object on success or `FALSE` on failure.

date_add
date_date_set
Data/Czas
PHP Manual