简体   繁体   中英

change time format in SQL select query

metabase in.cvs export show time in this format: 2017-08-30T02:15:30.000+04:30 but when I export data directly with mysql returns: 2017-08-30 02:15:30 how can change this format in SELECT?

I find it. https://www.w3schools.com/sql/func_sqlserver_convert.asp thanks. 127 yyyy-mm-ddThh:mi:ss.mmmZ ISO8601 (with time zone Z)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM