Query: datetimeimmutable
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
DATETIMEIMMUTABLE(3) 1 DATETIMEIMMUTABLE(3) The DateTimeImmutable classINTRODUCTIONThis class behaves the same as DateTime except it never modifies itself but returns a new object instead.CLASS SYNOPSISDateTimeImmutable DateTimeImmutableDateTimeInterface Methods o public DateTimeImmutable::__construct NULL ([string $time = "now"], [DateTimeZone $timezone]) o public DateTimeImmutable DateTimeImmutable::add (DateInterval $interval) o publicstatic DateTimeImmutable DateTimeImmutable::createFromFormat (string $format, string $time, [DateTimeZone $timezone]) o publicstatic DateTimeImmutable DateTimeImmutable::createFromMutable (DateTime $datetime) o publicstatic array DateTimeImmutable::getLastErrors (void ) o public DateTimeImmutable DateTimeImmutable::modify (string $modify) o publicstatic DateTimeImmutable DateTimeImmutable::__set_state (array $array) o public DateTimeImmutable DateTimeImmutable::setDate (int $year, int $month, int $day) o public DateTimeImmutable DateTimeImmutable::setISODate (int $year, int $week, [int $day = 1]) o public DateTimeImmutable DateTimeImmutable::setTime (int $hour, int $minute, [int $second]) o public DateTimeImmutable DateTimeImmutable::setTimestamp (int $unixtimestamp) o public DateTimeImmutable DateTimeImmutable::setTimezone (DateTimeZone $timezone) o public DateTimeImmutable DateTimeImmutable::sub (DateInterval $interval) o public DateInterval DateTimeImmutable::diff (DateTimeInterface $datetime2, [bool $absolute = false]) o public string DateTimeImmutable::format (string $format) o public int DateTimeImmutable::getOffset (void ) o public int DateTimeImmutable::getTimestamp (void ) o public DateTimeZone DateTimeImmutable::getTimezone (void ) o public DateTimeImmutable::__wakeup (void ) PHP Documentation Group DATETIMEIMMUTABLE(3)
Related Man Pages |
---|
datetimeimmutable.diff(3) - php |
datetime.format(3) - php |
dateinterval(3) - php |
intltimezone(3) - php |
datetimeinterface.format(3) - php |
Similar Topics in the Unix Linux Community |
---|
Call for Public CEP Reference Clients for 2008 |
How long is your commute to work? |
delete only part of a line |
Extract a string from another string in UNIX |
Add year to array in perl |