Overview

Namespaces

  • FlexiPeeHP
  • PHP

Classes

  • DateTime

Interfaces

  • DateTimeInterface
  • Throwable

Exceptions

  • Exception
  • Overview
  • Namespace
  • Class
  • Tree

Class DateTime

DateTime implements DateTimeInterface
PHP Extension: Date
Documented at php.net
Methods summary
public
# __construct( $time, $timezone )
public
# __wakeup( )

Implementation of

DateTimeInterface::__wakeup()
public static
# __set_state( )
public static
# createFromFormat( $format, $time, $object )
public static
# getLastErrors( )
public
# format( $format )

Implementation of

DateTimeInterface::format()
public
# modify( $modify )
public
# add( $interval )
public
# sub( $interval )
public
# getTimezone( )

Implementation of

DateTimeInterface::getTimezone()
public
# setTimezone( $timezone )
public
# getOffset( )

Implementation of

DateTimeInterface::getOffset()
public
# setTime( $hour, $minute, $second, $microseconds )
public
# setDate( $year, $month, $day )
public
# setISODate( $year, $week, $day )
public
# setTimestamp( $unixtimestamp )
public
# getTimestamp( )

Implementation of

DateTimeInterface::getTimestamp()
public
# diff( $object, $absolute )

Implementation of

DateTimeInterface::diff()
Constants summary
string ATOM
# 'Y-m-d\\TH:i:sP'
string COOKIE
# 'l, d-M-Y H:i:s T'
string ISO8601
# 'Y-m-d\\TH:i:sO'
string RFC822
# 'D, d M y H:i:s O'
string RFC850
# 'l, d-M-y H:i:s T'
string RFC1036
# 'D, d M y H:i:s O'
string RFC1123
# 'D, d M Y H:i:s O'
string RFC7231
# 'D, d M Y H:i:s \\G\\M\\T'
string RFC2822
# 'D, d M Y H:i:s O'
string RFC3339
# 'Y-m-d\\TH:i:sP'
string RFC3339_EXTENDED
# 'Y-m-d\\TH:i:s.vP'
string RSS
# 'D, d M Y H:i:s O'
string W3C
# 'Y-m-d\\TH:i:sP'
FlexiPeeHP API documentation generated by ApiGen