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

  • ArrayHash
  • ArrayList
  • Callback
  • DateTime53
  • Environment
  • Framework
  • FreezableObject
  • Image
  • Object
  • ObjectMixin

Interfaces

  • IFreezable

Exceptions

  • ArgumentOutOfRangeException
  • DeprecatedException
  • DirectoryNotFoundException
  • FatalErrorException
  • FileNotFoundException
  • InvalidStateException
  • IOException
  • MemberAccessException
  • NotImplementedException
  • NotSupportedException
  • StaticClassException
  • UnknownImageFileException
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated

Class DateTime53

DateTime with serialization and timestamp support for PHP 5.2.

DateTime
Extended by DateTime53
Package: Nette
Author: David Grudl
Located at common/DateTime.php
Methods summary
public static DateTime53
# from( string|integer|DateTime $time )

DateTime object factory.

DateTime object factory.

Parameters

$time
string|integer|DateTime

Returns

DateTime53
public
# __toString( )
public
# modifyClone( $modify = '' )
public
# setTimestamp( $timestamp )

Overrides

DateTime::setTimestamp()
public
# getTimestamp( )

Overrides

DateTime::getTimestamp()
public
# modify( $modify )

Overrides

DateTime::modify()
public static
# __set_state( $state )

Overrides

DateTime::__set_state()
public
# __sleep( )
public
# __wakeup( )

Overrides

DateTime::__wakeup()
Methods inherited from DateTime
__construct(), add(), createFromFormat(), diff(), format(), getLastErrors(), getOffset(), getTimezone(), setDate(), setISODate(), setTime(), setTimezone(), sub()
Constants summary
integer MINUTE 60
#

minute in seconds

minute in seconds

integer HOUR 3600
#

hour in seconds

hour in seconds

integer DAY 86400
#

day in seconds

day in seconds

integer WEEK 604800
#

week in seconds

week in seconds

integer MONTH 2629800
#

average month in seconds

average month in seconds

integer YEAR 31557600
#

average year in seconds

average year in seconds

Constants inherited from DateTime
ATOM, COOKIE, ISO8601, RFC1036, RFC1123, RFC2822, RFC3339, RFC822, RFC850, RSS, W3C
Nette Framework 2.0.14 (for PHP 5.2, un-prefixed) API API documentation generated by ApiGen 2.8.0