salix/db/routines/util/functions/mockUtcTime.sql

14 lines
248 B
MySQL
Raw Normal View History

DELIMITER $$
CREATE OR REPLACE DEFINER=`vn`@`localhost` FUNCTION `util`.`mockUtcTime`()
RETURNS datetime
DETERMINISTIC
BEGIN
/**
* Returns current UTC dateTime
*
* @return The UTC datetime format
*/
RETURN UTC_TIMESTAMP();
END$$
DELIMITER ;