$t = time(); $t1 = mktime(0,0,0,date(“m”,$t),date(“d”,$t),date(“Y”,$t)); $t2 = mktime(0,0,0,date(“m”,$t),1,date(“Y”,$t)); $t3 = mktime(0,0,0,date(“m”,$t)-1,1,date(“Y”,$t)); $t4 = mktime(0,0,0,1,1,date(“Y”,$t)); $e1 = mktime(23,59,59,date(“m”,$t),date