Class DateTime
DateTime with serialization and timestamp support for PHP 5.2.
- DateTime
- Nette\DateTime
public static
|
__construct(),
__set_state(),
__wakeup(),
add(),
createFromFormat(),
diff(),
format(),
getLastErrors(),
getOffset(),
getTimestamp(),
getTimezone(),
modify(),
setDate(),
setISODate(),
setTime(),
setTimestamp(),
setTimezone(),
sub()
|
integer
|
MINUTE
|
60 |
#
minute in seconds |
integer
|
HOUR
|
3600 |
#
hour in seconds |
integer
|
DAY
|
86400 |
#
day in seconds |
integer
|
WEEK
|
604800 |
#
week in seconds |
integer
|
MONTH
|
2629800 |
#
average month in seconds |
integer
|
YEAR
|
31557600 |
#
average year in seconds |
ATOM,
COOKIE,
ISO8601,
RFC1036,
RFC1123,
RFC2822,
RFC3339,
RFC822,
RFC850,
RSS,
W3C
|