DELIMITER $$ CREATE OR REPLACE DEFINER=`root`@`localhost` FUNCTION `util`.`VN_NOW`() RETURNS datetime DETERMINISTIC BEGIN /** * @return The mock datetime */ RETURN mockTime(); END$$ DELIMITER ;