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
|
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
|