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