1金币
最佳答案activity时间字段是OLE Automation Date格式,给你个函数转换成datetime格式:
CREATE DEFINER=`root`@`%` FUNCTION `zFunc_OADateToDate`(`OADate` double) RETURNS datetime
BEGIN
DECLARE owhole LONG;
DECLARE seltime DOUBLE;
DECLARE seldate DATETIME;
DECLARE finaldate DATETIME;
SET owhole = CAST(OADate AS UNSIGNED)-1;
SET seldate = DATE_ADD('1899-12-30 00:00:00', INTERVAL owhole DAY); ...
| |
评分
| |||||||
| |
| |
| |
| |