SELECT COUNT(*)
				FROM `pixelpost_pixelpost` p 
				WHERE (p.`datetime` <= '2024-04-24 12:00:11') AND (p.`datetime` <= '2024-04-24 12:00:11' AND p.`datetime` >= '2015-04-01 00:00:00' AND p.`datetime` <= '2015-04-31 23:59:59')   :: Incorrect DATETIME value: '2015-04-31 23:59:59'