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, 14 Aug 2009

view this page in

DateTime::createFromFormat

(PHP 5 >= 5.3.0)

DateTime::createFromFormatRetourne un nouvel objet DateTime formaté

Description

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

Retourne un nouvel objet DateTime formaté.

Liste de paramètres

format

Format accepté par date().

time

Chaîne représentant l'heure.

timezone

Fuseau horaire.

Valeurs de retour

Retourne un nouvel objet DateTime.



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, 14 Aug 2009
 
 
show source | credits | sitemap | contact | advertising | mirror sites