minutes()
seconds()
setFormat()
getFormat()
hasMinutes()
hasSeconds()
initialize()
$date
$format
Provides ability to interval a fluid time stamp.
| package | Time |
|---|---|
| license | MIT |
| author | Aleksey Korzun |
| link | http://alekseykorzun.com/post/7856565665/high-scalability-and-mysqls-now-dont-mix |
| link | http://www.alekseykorzun.com |
minutes(\DateInterval $interval) : string
stringprocessed time stampseconds(\DateInterval $interval) : string
stringprocessed time stampsetFormat(string $format) : void
| see | \Time\http://www.php.net/manual/en/function.date.php |
|---|
stringnew date format to use
getFormat(string $swap) : string
stringconvert specific format characters to a static '00'
stringformathasMinutes() : bool
boolreturns true if support is presenthasSeconds() : bool
boolreturns true if seconds are supportedinitialize() : void
$format : string