DateTime::createFromFormat
(PHP 5 >= 5.3.0)
DateTime::createFromFormat — Retourne 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.
DateTime::createFromFormat
There are no user contributed notes for this page.
