How to treat csv column as date-time

IttayD

I have a CSV file where one of the columns is a string representation of a date in the form 'dd.mm.yy@hh:mm:ss'. I want excel to read this as a date format, so it can sort, filter, etc. How can I do that?

Ron Rosenfeld

Use the Data / Text to columns wizard.

  • Step 1: Delimited
  • Step 2: Delimiters Other: @
  • Step 3: Select the first column (the date part) and for Column Data Format select Date: DMY

You will probably have to reformat the date column by removing the hyperlink and then applying the desired date format

The above could be automated, if necessary.

If you need both in the same column, you can add them.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

How to treat a randomly generated Date as UTC time

How append date info to a time column on read_csv

Separate date and time from csv column

How to split datetime strings column in a .csv file into seperate date and time column?

How do I combine two columns of date and time in a csv file to 1 datetime column in pandas?

how to split date-time and data from same column in csv using python?

How do I make pandas treat each row as a column based on a certain date variable?

How do I combine columns (date, time, year) of a CSV file in the concat format (to create one new date column) and then delete them after?

How to force a CSV column to treat numbers as text, in C# using StringBuilder

How to create a date (column) from a date-time (column) in R

How to automatically parsing date time in CSV with pandas

Pyspark read csv and combine date and time column and filter based on it

Date and Time change using csv column data in Python

How to sort date and time in one column in a JTable?

How to sort a column with Date and time values in Spark?

How to manipulate the time part of a date column?

How to import a CSV with a TIME column on SSMS (SQL)

how to make ElasticSearch treat keyword as string not date

Pandas: how to treat strange time format

How to update mysql database table each time csv file get uploaded - problem here is I cannot update the "date column"

How to convert in file csv date in specific column to unix date

How to groupby date in pandas and create time column associated by the date

How to check for current date, if the column having date and time?

how to count a column by month if the date column has time stamp?

How to add date column to already existing time column in python?

How to insert string to DATE column and TIME column from Ecto

Python - How to get a column 'duration' with start and end time column in csv?

Sorting csv column by date

Date & time text to column