English 中文(简体)
Excel格式
原标题:Formatting datetime in Excel

I m 从事数据分析课程,我们重新学习LEN、FIND、LEFT & 权利功能。 教员正在使用谷歌信,日间格式是“yyyyy:mm:ddd hh:mm:s” 他们利用LEN的功能,归还了19个特性。 当我坐在外衣时,我只回了15人。 当他们使用=FIND(“C2”)时,它又回去了11个,当时我使用了同样的功能,它又回去了“微米”错误,并赢得了与服务器的链接,以告诉我为什么。

我在C2室被点击,并显示我成立时日为:mm:d hh:mm:s AM——尽管我无法在我的实际牢房看到协会。

我承担了=LEN的职能,是计算殖民地数的吨数,但我无法说明为什么它不计算“FIND”(“C2)。 当我注意到其中的“AM”时,我尝试将其删除,但存在同样的“评估差距”。 我也试图重新调整日期,但最终将只剩下日期或时间,而不是两者。

问题回答

I am doing the same course as well. This is what i found out. =LEN(TEXT(D2,"yyyy-mm-dd hh:mm:ss")). It needs to be converted to text string first. It will give you the right answer.





相关问题
Weird Time Issue in Python

Problem with using times in Python. Terminal > Python >>> calendar.timegm(datetime.datetime.now().utctimetuple()) 1258449380 This time indicates GMT: Tue, 17 Nov 2009 09:16:20 GMT Eclipse ...

How does a .NET process get the culture information?

I have a Windows service running (C#, .NET 2.0) on Windows Server 2003 R2. In one server the System.Threading.Thread.CurrentThread.CurrentCulture is {en-AU} and in the other {en-US}. This has caused a ...

Best way to get maximum Date value in java?

I m writing a bit of logic that requires treating null dates as meaning forever in the future (the date in question is an expiration date, which may or may not exist). Instead of putting in special ...

Date format in SQL Server

Short Question: What s the best date format to use in SQL Server? Long Explanation: We re converting our database from mysql to SQL Server. In mysql we always used int(11) to avoid the daylight ...

Converting asp.net/sql web app to be ime zone savy

Our current app stores all dates via the server s datetime. I m thinking we need to update all datetime values in the database over to UTC time. Now for displaying these dates back to the user, I ...

Check if string is of SortableDateTimePattern format

Is there any way I can easily check if a string conforms to the SortableDateTimePattern ("s"), or do I need to write a regular expression? I ve got a form where users can input a copyright date (as a ...

DateTime in PropertyGrid in .Net

I m currently working on some DateTime properties in a PropertyGrid in c#.Net. Im using the default drop-down datetime picker. My question: Is there any way to show the full date with the time? By ...

热门标签