DROP FUNCTION IF EXISTS `util`.`VN_CURDATE`; DELIMITER $$ CREATE DEFINER=`root`@`localhost` FUNCTION `util`.`CURDATE`() RETURNS DATE DETERMINISTIC BEGIN /** * @return The mock date **/ RETURN DATE(mockTime()); END$$ DELIMITER ;