Back

Class: DateTimes

:convertDate ($date, $dbFormat=NULL)

Prevedadza $date medzi tvaromi d.m.Y <=> Y-m-d

:diff ($a, $b='now')

Realise $a - $b time difference

:format ($time, $include='days,hours,minutes', $translate=true)

:getAge ($day, $month, $year)

Vrati pocet rokov ubehnutych od datumu z parametrov

:isHistory ($date, $time, $actTimeMove=0)

Vrati, ci datum $date a cas $time je v minulosti. $actTimeMove urcuje posun aktualneho definovany pocet dni

:maxDate ($convert=false)

Vrati maximalny datum v tvare d.m.Y, v pripade $convert == true v tvare Y-m-d


Back

ChameleonFramework © 2012 - 2018