Packages

  • dibi
    • drivers
    • nette
    • reflection
  • None
  • PHP

Classes

  • DateTime
  • DateTimeZone
  • PDO
  • PDOStatement
  • ReflectionClass
  • ReflectionObject

Interfaces

  • ArrayAccess
  • Countable
  • Iterator
  • IteratorAggregate
  • Reflector
  • Traversable

Exceptions

  • Exception
  • InvalidArgumentException
  • LogicException
  • Overview
  • Package
  • Class
  • Tree

Class DateTime

Direct known subclasses

DibiDateTime
PHP Extension: Date
Documented at php.net
Methods summary
public
# __construct( $time, $object )
public
# __wakeup( )
public static
# __set_state( )
public static
# createFromFormat( $format, $time, $object )
public static
# getLastErrors( )
public
# format( $format )
public
# modify( $modify )
public
# add( $interval )
public
# sub( $interval )
public
# getTimezone( )
public
# setTimezone( $timezone )
public
# getOffset( )
public
# setTime( $hour, $minute, $second )
public
# setDate( $year, $month, $day )
public
# setISODate( $year, $week, $day )
public
# setTimestamp( $unixtimestamp )
public
# getTimestamp( )
public
# diff( $object, $absolute )
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 RSS 'D, d M Y H:i:s O'
#
string W3C 'Y-m-d\\TH:i:sP'
#
dibi API documentation API documentation generated by ApiGen 2.3.0