(PHP 5 >= 5.3.0, PHP 7, PHP 8)
DateTime::setTimestamp -- date_timestamp_set — Sets the date and time based on an Unix timestamp
Nesne yönelimli kullanım
Yordamsal kullanım
Sets the date and time based on an Unix timestamp.
Like DateTimeImmutable::setTimestamp() but works with DateTime.
The procedural version takes the DateTime object as its first argument.
nesneSadece yordamsal tarz: date_create() tarafından bir DateTime nesnesi döndürülür. İşlev bu nesnede değişiklik yapar.
timestamp
      Unix timestamp representing the date.
      Setting timestamps outside the range of int is possible by using
      DateTimeImmutable::modify() with the @ format.
     
Yöntem zincirleme için değişmiş DateTime nesnesi döner.
