Class NDateTime53
DateTime with serialization and timestamp support for PHP 5.2.
- DateTime
- NDateTime53
public static
|
|
public
string
|
|
public
|
|
public
|
|
public
integer|string
|
|
public
|
|
public static
|
|
public
|
|
public
|
__construct(),
add(),
createFromFormat(),
diff(),
format(),
getLastErrors(),
getOffset(),
getTimezone(),
setDate(),
setISODate(),
setTime(),
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
|