Packages

  • Nette
    • Application
    • Caching
    • Collections
    • Config
    • Forms
    • IO
    • Loaders
    • Mail
    • Reflection
    • Security
    • Templates
    • Web
  • None
  • PHP

Classes

  • ArrayIterator
  • ArrayObject
  • CachingIterator
  • DateTime
  • FilterIterator
  • IteratorIterator
  • RecursiveArrayIterator
  • ReflectionClass
  • ReflectionExtension
  • ReflectionFunction
  • ReflectionFunctionAbstract
  • ReflectionMethod
  • ReflectionParameter
  • ReflectionProperty
  • SplObjectStorage
  • stdClass

Interfaces

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

Exceptions

  • Exception
  • InvalidArgumentException
  • LogicException
  • RuntimeException
  • Overview
  • Package
  • Class
  • Tree
  • Other releases

Class DateTime

Direct known subclasses

NDateTime53
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'
#
Nette Framework 0.9.7 (for PHP 5.2) API documentation generated by ApiGen 2.3.0