- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
static public function Current()
{
return mktime(date('H', time()),date('i', time()), 0, date('m', time()), date('d', time()), date('Y', time()));
}
static public function CurrentDate()
{
return mktime(0, 0, 0, date('m', time()), date('d', time()), date('Y', time()));
}
static public function YesterdayDate()
{
$time = time()-86400;
return mktime(0, 0, 0, date('m', $time), date('d', $time), date('Y', $time));
}