将 MySQL 以毫秒为单位的日期转换为 Google 工作表的日期格式

Convert MySQL date with milliseconds to Google Sheets' date format

我在 Google 表格中有以下字符串,从 MySQL 日期格式中提取:
2018-05-28 23:10:23.477

我需要将其转换为 Google 表格中的日期格式,包括毫秒。

请尝试:

=text(A1,"yyyy-mm-dd hh:mm:ss.000")-0