Class DateTime
DateTime.
- DateTime
- Nette\Utils\DateTime
public static
|
|
public
string
|
|
public
|
|
public
|
|
public
integer|string
|
|
public static
|
#
createFromFormat( string $format, string $time, string|
Returns new DateTime object formatted according to the specified format. |
__construct(),
__set_state(),
__wakeup(),
add(),
diff(),
format(),
getLastErrors(),
getOffset(),
getTimezone(),
modify(),
setDate(),
setISODate(),
setTime(),
setTimezone(),
sub()
|
integer |
MINUTE
minute in seconds |
# 60 |
integer |
HOUR
hour in seconds |
# 3600 |
integer |
DAY
day in seconds |
# 86400 |
integer |
WEEK
week in seconds |
# 604800 |
integer |
MONTH
average month in seconds |
# 2629800 |
integer |
YEAR
average year in seconds |
# 31557600 |
ATOM,
COOKIE,
ISO8601,
RFC1036,
RFC1123,
RFC2822,
RFC3339,
RFC822,
RFC850,
RSS,
W3C
|