Lines Matching refs:DateTime
33 function date_create(string $datetime = "now", ?DateTimeZone $timezone = null): DateTime|false {}
39 string $format, string $datetime, ?DateTimeZone $timezone = null): DateTime|false {}
52 function date_modify(DateTime $object, string $modifier): DateTime|false {}
54 function date_add(DateTime $object, DateInterval $interval): DateTime {}
56 function date_sub(DateTime $object, DateInterval $interval): DateTime {}
60 function date_timezone_set(DateTime $object, DateTimeZone $timezone): DateTime {}
68 DateTime $object, int $hour, int $minute, int $second = 0, int $microsecond = 0): DateTime {}
70 function date_date_set(DateTime $object, int $year, int $month, int $day): DateTime {}
72 function date_isodate_set(DateTime $object, int $year, int $week, int $dayOfWeek = 1): DateTime {}
74 function date_timestamp_set(DateTime $object, int $timestamp): DateTime {}
141 class DateTime implements DateTimeInterface class
148 /** @return DateTime */
151 /** @return DateTime */
154 public static function createFromInterface(DateTimeInterface $object): DateTime {}
157 * @return DateTime|false
175 * @return DateTime|false
181 * @return DateTime
187 * @return DateTime
199 * @return DateTime
211 * @return DateTime
217 * @return DateTime
223 * @return DateTime
229 * @return DateTime
324 public static function createFromMutable(DateTime $object) {}