date_create

(PHP 5 >= 5.1.0)

date_createReturns new DateTime object

Description

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

Parameters

time

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

timezone

Time zone of the time.

Return Values

Returns DateTime object on success or FALSE on failure.


    

 

 

Home || Web Directroy || Web Designing || Get a Domain Name || Host your web site || Free Blogs || Free Tutorial || Free E-cards || Free GuestBook || Email