tidb-tso与标准时间相互转换

相互转换

SELECT TIDB_PARSE_TSO(@@tidb_current_ts);
 SELECT conv(concat(bin(unix_timestamp('2022-01-06 12:30:59') * 1000),'000000000000000001'),2,10);

你可能感兴趣的:(TIDB,数据库)