milliseconds format to parse a datetime?

后端 未结 1 726
眼角桃花
眼角桃花 2021-01-27 17:33

I need to parse a datetime contains milliseconds for matching the max value in a field containing this datetimes.

For example:

相关标签:
1条回答
  • 2021-01-27 18:04

    below is for BigQuery Standard SQL

    #standardSQL
    SELECT PARSE_DATETIME('%Y-%m-%d %H:%M:%E*S','2017-08-18 16:04:40.890') 
    
    0 讨论(0)
提交回复
热议问题