About 16,900 results
Open links in new tab
  1. Excel How to convert datetime into only date - m/d/YYYY format

    Sep 9, 2016 · A date is just a number. To the left of the decimal place is the date, to the right is the time. =INT(A1) will return the whole number. Your first example will display as 05/09/2014 00:00. All you need to do now is format the cell as a date without the time. Edit: And read the post that @Ralph linked to - very informative.

  2. How to represent a DateTime in Excel - Stack Overflow

    Excel can display a Date type in a similar manner to a DateTime. Right click on the affected cell, select Format Cells, then under Category select Date and under Type select the type that looks something like this: 3/14/01 1:30 PM That should do what you requested. I tested sorting on some sample data with this format and it seemed to work fine.

  3. Convert text date/time to a real date time in excel

    Mar 28, 2016 · The accepted answer for full date-time conversion is overly complicated. Excel's VALUE() function will achieve the desired conversion without needing to call DATEVALUE() and TIMEVALUE() separately: For a "texty" date in cell A1 (such as "3/24/2016 11:22:07 PM" as supplied in the question): =VALUE(A1) will return the equivalent Excel date-time ...

  4. Parsing an ISO8601 date/time (including TimeZone) in Excel

    Jan 1, 2011 · I need to parse an ISO8601 date/time format with an included timezone (from an external source) in Excel/VBA, to a normal Excel Date. As far as I can tell, Excel XP (which is what we're using) doesn't have a routine for that built-in, so I guess I'm looking at a custom VBA function for the parsing.

  5. Convert date-time string to Date in excel - Stack Overflow

    Oct 22, 2019 · You can use LEFT function to retrieve the date (it will then be displayed in its original format, like 2019-08-15), or simply do --LEFT to convert the result to a number and change its formatting to Date using Excel: Then use MID function to retrieve the times and do your A2-A1 calculation (format the last column as Time):

  6. Excel - How to convert UTC date time - Stack Overflow

    Apr 6, 2016 · The first is the T that denotes the start of time. Excel uses a space. The second is the Everything to the right of the +. If we get rid of those then excel will see it as a Date/Time. So use this to remove the unwanted information: =--SUBSTITUTE(LEFT(G2,FIND("+",G2)-1),"T"," ") EDIT. As was pointed out by @ForwardEd this only brings in the UTC ...

  7. epoch - Excel date to Unix timestamp - Stack Overflow

    Here is a mapping for reference, assuming UTC for spreadsheet systems like Microsoft Excel:. Unix Excel Mac Excel Human Date Human Time Excel Epoch -2209075200 -1462 0 1900/01/00* 00:00:00 (local) Excel ≤ 2011 Mac† -2082758400 0 1462 1904/12/31 00:00:00 (local) Unix Epoch 0 24107 25569 1970/01/01 00:00:00 UTC Example Below 1234567890 38395.6 39857.6 …

  8. How to convert a date in Excel to ISO 8601 format

    Oct 29, 2016 · Start out with a csv that has format 21-6-2019. Make sure your regional settings are the same. Doubleclick the CSV to open in Excel (do not use data/from text, that won't work. Don't ask me why). Excel will recognise the dates as dates. Now select each date column and change the format Date to 2019-06-21. Excel 2016. –

  9. Converting time stamps in excel to dates - Stack Overflow

    A timestamp is the elapsed time since Epoch time (01/01/1970), so basically we have to convert this time in days, and add the epoch time, to get a valid format for any Excel like spreadsheet software. From a timestamp in milliseconds (ex: 1488380243994) use this formula: =A1/1000/86400+25569 with this formater: yyyy-mm-dd hh:mm:ss.000

  10. DateTime fields from SQL Server display incorrectly in Excel

    Aug 23, 2013 · ' If the first non-NULL value is in strange time format, then change entire column to system date/time format Dim values As Variant, r As Long, c As Long If Selection.Count = 1 Then Selection.CurrentRegion.Select values = Selection.Value For c = 1 To UBound(values, 2) For r = 2 To UBound(values, 1) If TypeName(values(r, c)) = "Double" Then If ...