downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

DateTime::diff> <DateTime::__construct
Last updated: Fri, 24 Jul 2009

view this page in

DateTime::createFromFormat

(PHP 5 >= 5.3.0)

DateTime::createFromFormatReturns new DateTime object formatted according to the specified format

설명

public static DateTime DateTime::createFromFormat ( string $format , string $time [, DateTimeZone $timezone ] )

Returns new DateTime object formatted according to the specified format.

인수

format

Format accepted by date().

time

String representing the time.

timezone

Time zone.

반환값

Returns new DateTime instance.



add a note add a note User Contributed Notes
DateTime::createFromFormat
There are no user contributed notes for this page.

DateTime::diff> <DateTime::__construct
Last updated: Fri, 24 Jul 2009
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites