转换为日期 [英] Convert to date
本文介绍了转换为日期的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我如何将号码20020415转换为日期15.04.2002。我在Microsoft Excel 2003中工作?
How i can convert number 20020415 to date 15.04.2002. I am working in Microsoft Excel 2003?
谢谢!
推荐答案
让单元格A1包含文字 20020415 。
Let cell A1 contains the text 20020415.
=CONCATENATE(RIGHT(A1, 2), ".", MID(A1,5,2), ".", LEFT(A1, 4))
将产生 15.04.2002 。
之后,如果要存储该值而不是该公式,则只能复制并粘贴该值。
Afterward, if you want to store the value and not the formula you can copy and paste the value only.
注意:此方法仍保留日期作为文本。
Note: this method still keeps the date as text.
这篇关于转换为日期的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文