Lines Matching refs:DateTime

52 function date_create(string $datetime = "now", ?DateTimeZone $timezone = null): DateTime|false {}
60 string $format, string $datetime, ?DateTimeZone $timezone = null): DateTime|false {}
87 function date_modify(DateTime $object, string $modifier): DateTime|false {}
89 function date_add(DateTime $object, DateInterval $interval): DateTime {}
91 function date_sub(DateTime $object, DateInterval $interval): DateTime {}
96 function date_timezone_set(DateTime $object, DateTimeZone $timezone): DateTime {}
105 DateTime $object, int $hour, int $minute, int $second = 0, int $microsecond = 0): DateTime {}
107 function date_date_set(DateTime $object, int $year, int $month, int $day): DateTime {}
109 function date_isodate_set(DateTime $object, int $year, int $week, int $dayOfWeek = 1): DateTime {}
111 function date_timestamp_set(DateTime $object, int $timestamp): DateTime {}
210 class DateTime implements DateTimeInterface class
218 public static function __set_state(array $array): DateTime {}
221 public static function createFromImmutable(DateTimeImmutable $object): DateTime {}
223 public static function createFromInterface(DateTimeInterface $object): DateTime {}
229 …eateFromFormat(string $format, string $datetime, ?DateTimeZone $timezone = null): DateTime|false {}
248 public function modify(string $modifier): DateTime|false {}
254 public function add(DateInterval $interval): DateTime {}
260 public function sub(DateInterval $interval): DateTime {}
272 public function setTimezone(DateTimeZone $timezone): DateTime {}
284 …public function setTime(int $hour, int $minute, int $second = 0, int $microsecond = 0): DateTime {}
290 public function setDate(int $year, int $month, int $day): DateTime {}
296 public function setISODate(int $year, int $week, int $dayOfWeek = 1): DateTime {}
302 public function setTimestamp(int $timestamp): DateTime {}
395 public static function createFromMutable(DateTime $object): DateTimeImmutable {}