Packages

  • Nette
    • Application
      • Diagnostics
      • Responses
      • Routers
      • UI
    • Caching
      • Storages
    • ComponentModel
    • Config
      • Adapters
      • Extensions
    • Database
      • Diagnostics
      • Drivers
      • Reflection
      • Table
    • DI
      • Diagnostics
    • Diagnostics
    • Forms
      • Controls
      • Rendering
    • Http
    • Iterators
    • Latte
      • Macros
    • Loaders
    • Localization
    • Mail
    • Reflection
    • Security
      • Diagnostics
    • Templating
    • Utils
      • PhpGenerator
  • NetteModule
  • none
  • PHP

Classes

Interfaces

Exceptions

  • Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Other releases
  • Nette homepage

Class DateTime

Direct known subclasses

DateTime53
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 2.0.18 (for PHP 5.2, un-prefixed) API documentation generated by ApiGen 2.8.0