简体   繁体   中英

Column format in excel, yyyy-mm-dd hh:mm:ss

I need to set my column in Excel to yyyy-mm-dd hh:mm:ss. When I open my csv file in VSCode, the format is correct, but when I open it in Excel, the written data in column is yyyy-mm-dd hh:mm. When i click the cell, the format displayed on formula bar was yyyy-mm-dd hh:mm:ss. Does anyone know how to appear the data correctly in the cell? Thank you:/

在此处输入图像描述

You can simply enter yyyy-mm-dd hh:mm:ss to the custom option (the one at the buttom).

在此处输入图像描述

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