如何将自然时间转换为TSO

转换tso

SELECT TIDB_PARSE_TSO(445015622227853318 );

SELECT conv(concat(bin(unix_timestamp(‘2022-01-06 12:30:59’) * 1000),‘000000000000000001’),2,10);

4 个赞