Overview

Namespaces

  • Budovy
  • Kdyby
    • BootstrapFormRenderer
      • DI
      • Latte
  • Nette
    • Application
      • Diagnostics
      • Responses
      • Routers
      • UI
    • Caching
      • Storages
    • ComponentModel
    • Database
      • Diagnostics
      • Drivers
      • Reflection
      • Table
    • DI
      • Config
        • Adapters
      • Diagnostics
      • Extensions
    • Diagnostics
    • Forms
      • Controls
      • Rendering
    • Http
      • Diagnostics
    • Iterators
    • Latte
      • Macros
    • Loaders
    • Localization
    • Mail
    • PhpGenerator
    • Reflection
    • Security
      • Diagnostics
    • Templating
    • Utils
  • NetteModule
  • Nextras
    • Datagrid
  • None
  • PHP
  • Tester
    • CodeCoverage
    • Runner
      • Output
  • Vodacek
    • Forms
      • Controls
  • WebLoader
    • Filter
    • Nette

Classes

  • ArrayIterator
  • CachingIterator
  • Closure
  • DateInterval
  • DateTime
  • FilterIterator
  • IteratorIterator
  • PDO
  • PDOStatement
  • RecursiveArrayIterator
  • ReflectionClass
  • ReflectionExtension
  • ReflectionFunction
  • ReflectionFunctionAbstract
  • ReflectionMethod
  • ReflectionParameter
  • ReflectionProperty
  • SimpleXMLElement
  • SplObjectStorage
  • stdClass

Interfaces

  • ArrayAccess
  • Countable
  • DateTimeInterface
  • Iterator
  • IteratorAggregate
  • OuterIterator
  • RecursiveIterator
  • Reflector
  • SeekableIterator
  • Serializable
  • SessionHandlerInterface
  • Traversable

Exceptions

  • ErrorException
  • Exception
  • InvalidArgumentException
  • LogicException
  • OutOfRangeException
  • PDOException
  • RuntimeException
  • UnexpectedValueException
  • Overview
  • Namespace
  • Class
  • Tree

Class DateTime

DateTime implements DateTimeInterface

Direct known subclasses

Nette\DateTime
PHP Extension: Date
Documented at php.net
Methods summary
public
# __construct( mixed $time, mixed $object )
public
# __wakeup( )

Implementation of

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

Implementation of

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

Implementation of

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

Implementation of

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

Implementation of

DateTimeInterface::getTimestamp()
public
# diff( mixed $object, mixed $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 RSS 'D, d M Y H:i:s O'
#
string W3C 'Y-m-d\\TH:i:sP'
#
API documentation generated by ApiGen 2.8.0