excel格式的日期为mysql [英] excel format date for mysql

查看:172
本文介绍了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:


  1. 转到格式化单元格,然后选择号码标签。

  2. 选择日期

  3. 区域设置为英语(英国)

  4. 列表中的第五个项目(我的美国版本的Excel)是您要查找的格式。 >
  1. Go to Format Cells and then the Number tab.
  2. Select Date
  3. Change the Locale to English (U.K.)
  4. The fifth item on the list (on my U.S. version of Excel) is the format you're looking for.

希望有帮助!

这篇关于excel格式的日期为mysql的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆