excel格式的日期为mysql [英] excel format date for mysql
本文介绍了excel格式的日期为mysql的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我的excel表格具有以下格式: dd / mm / YYYY
My excel sheet has the following format : dd/mm/YYYY
ex:24/10/2010(欧洲格式)
ex: 24/10/2010 (european format)
我的mysql需要: YYYY-mm-dd (US格式)
and my mysql needs: YYYY-mm-dd (US format)
如何在Excel中格式化日期以获得这种美国格式?
我尝试使用单元格格式,但是我没有所需的格式
How can I format the date in Excel to have this US format ? I tried with cell format, but I don't have the desired format
Regards
推荐答案
您可以在Excel中找到此数字格式:
Here's how you can find this Number format in Excel:
- 转到格式化单元格,然后选择号码标签。
- 选择日期
- 区域设置为英语(英国)
- 列表中的第五个项目(我的美国版本的Excel)是您要查找的格式。 >
- Go to Format Cells and then the Number tab.
- Select Date
- Change the Locale to English (U.K.)
- The fifth item on the list (on my U.S. version of Excel) is the format you're looking for.
希望有帮助!
这篇关于excel格式的日期为mysql的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文