People,
I have a string date that I can convert to numeric using: = DateValue ("1/2/2011") results 39084
I am trying to use ONLY FORMULAS to convert a string or numeric date to a date-formatted object. Using a user interface for formatting is not an option.
Use TEXT ()
Example:
=Text(DateValue("1/2/2011"), "yyyy/mm/dd")
It works:
A1 = Text("1/2/2011", "mm/dd/yyyy") =DATE(VALUE(MID(A1,7,4)), VALUE(MID(A1,1,2)), VALUE(A1(B10, 4, 2)))
Source: https://habr.com/ru/post/1791003/More articles:How to distinguish a list using LINQ? - c #Activity with static link - androidTool to combine multiple javascript files into one ... - javascriptКак обходное предупреждение C4333 ('>>': сдвиг вправо на слишком большую величину, потерю данных) - c++Get the Apple Keychain to find out Bouncy Castle.NET, created by PKCS12 (.p12) - c #C # Daylight Saving Time - c #Can you pack WebFilter into a library - jspIs the operating system an abstraction? - assemblyto embed a non-web application in a jetty - jettyIs there a way to get the source code file name and line number in Go? - debuggingAll Articles