Ceci produirait un nouvel objet DateTime qui est la valeur résultante.
Cette propriété produit la valeur temps d'un objet DateTime existant.
Convertit la valeur de l'objet DateTime actuel en heure locale.
Converts the value of the current DateTime object to local time.
La valeur produite par cette structure est alors appliquée à un objet DateTime.
The value produced by this structure is then applied to a DateTime object.
Assigne la date courante de l'objet DateTime à une nouvelle date.
Resets the current date of the DateTime object to a different date.
Convertit l'objet DateTime actuel en un objet de type spécifié.
Converts the current DateTime object to an object of a specified type.
Elle retourne un objet DateTime avec la date actuelle.
It returns a DateTime object with the current date.
Retourne une nouvelle instance de l'objet DateTime.
Returns a new instance of a DateTime object.
Assigne l'heure de l'objet DateTime à une différente heure.
Resets the current time of the DateTime object to a different time.
Vous pouvez avoir la notification que, par défaut, un objet DateTime produit toujours une date et une heure.
You may have notice that, by default, a DateTime object always produces both a date and a time.
La comparaison d'objet DateTime avec les opérateurs de comparaison fonctionne maintenant normalement.
DateTime object comparison with the comparison operators changed to work as expected.
Retourne un nouvel objet DateTime représentant la date et l'heure spécifiées par le texte time, qui a été formaté dans le format donné.
Returns a new DateTime object representing the date and time specified by the time string, which was formatted in the given format.
Modifie le timestamp d'un objet DateTime en l'incrémentant ou le décrémentant dans un format acceptable par strtotime().
Alter the timestamp of a DateTime object by incrementing or decrementing in a format accepted by strtotime().