日期格式转换 [英] Date format conversion

查看:138
本文介绍了日期格式转换的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我在Microsoft Excel工作表中遇到一个问题,只有当我将我的计算机区域和语言格式更改为丹麦语(丹麦)时才会出现此问题控制面板 - >地区和语言 - >格式 - >(选择丹麦语(丹麦))



更改地区和语言格式后,



1)打开Microsoft Excel工作簿表,

2)选择任意列并右键单击并选择Format Cells,

3)here选择日期选项,类型为(14-03-2001),放在数字标签下。

4)然后点击确定。



现在输入值10-Mar-2014,它将被转换为10.03.2014。

但它没有转换为MAY和OCT月。


有人可以告诉为什么5月和OCT月没有发生这种情况的原因吗?



I am facing one problem in Microsoft excel sheet, The problem occurs only when i change my computers region & Language format as "Danish(Denmark)" Control Panel->Region&Language->Format->(select Danish(Denmark))

After changing region & language format,

1)open Microsoft excel workbook sheet,
2)select anyone column and right click and select Format Cells,
3)here choose Date option with type as (14-03-2001) which was placed under Number tab.
4)then click ok.

now enter the value "10-Mar-2014", it will be converted into 10.03.2014.
but its not converting for MAY and OCT months.

can anyone tell the reason for why this is not happening for MAY & OCT months?

推荐答案

日期格式将使用缩写的月份名称选定的文化。看看丹麦月份名称,似乎每个月除了五月和十月的缩写与英语等价物相同:

  • 一月 - > Januar (JAN)
  • 二月 - > Februar (FEB)
  • March - >市场(MAR)
  • 四月 - >四月(APR)
  • 五月 - > Maj (MAY / MAJ)
  • 六月 - > Juni (JUN)
  • 7月 - > Juli (JUL)
  • 八月 - >八月(AUG)
  • 九月 - >九月(SEP)
  • 十月 - > Oktober (OCT / OKT)
  • 11月 - > 11月(NOV)
  • 12月 - > 12月(DEC)
The date format will use the abbreviated month names for the selected culture. Looking at the Danish month names, it would seem that the abbreviation for every month except May and October is the same as the English equivalent:
  • January -> Januar (JAN)
  • February -> Februar (FEB)
  • March -> Marts (MAR)
  • April -> April (APR)
  • May -> Maj (MAY / MAJ)
  • June -> Juni (JUN)
  • July -> Juli (JUL)
  • August -> August (AUG)
  • September -> September (SEP)
  • October -> Oktober (OCT / OKT)
  • November -> November (NOV)
  • December -> December (DEC)
10-Maj-2014 -> 10.05.2014
10-Okt-2014 -> 10.10.2014


看起来像一个错误,向微软报告。


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

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