Overview

Packages

  • JAMA
  • None
  • PHP
  • PHPExcel
    • CachedObjectStorage
    • Calculation
    • Cell
    • Chart
      • Renderer
    • Reader
      • Excel2007
      • Excel5
    • RichText
    • Settings
    • Shared
      • Escher
      • OLE
      • Trend
      • ZipArchive
    • Style
    • Worksheet
      • Drawing
    • Writer
      • 2007
      • CSV
      • Excel2007
      • Excel5
      • HTML
      • PDF

Classes

  • DateTime
  • DateTimeZone
  • DOMNode
  • XMLWriter

Interfaces

  • DateTimeInterface
  • Iterator
  • Throwable
  • Traversable

Exceptions

  • Exception
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Todo
  • Download

Class DateTime

DateTime implements DateTimeInterface
PHP Extension: Date
Documented at php.net
Methods summary
public
# __construct( $time, $object )
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 )
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 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'
Autene API documentation generated by ApiGen