MySQL获取毫秒值

select time_to_sec(now()), now(),

current_timestamp(),

replace(unix_timestamp(now(3)),'.',''),

replace(unix_timestamp(current_timestamp(3)),'.',''),

replace(current_timestamp(3),'.',':'),

unix_timestamp(current_timestamp(3)),

unix_timestamp();


你可能感兴趣的:(MySQL获取毫秒值)