Converting text string date and time

By Michael Christian on 19 February 2016

When running infocapture report, you will find that the date and time are displayed in YYYYMMDDHHMMSS format for example:


Date and time format are vary depending which country. This is one of the reasons why string YYYYMMDDHHMMSS format is commonly used in the database table.

Here is how to convert the following date format in Excel

Assuming you have  20151119193000 in A1 and wish to conver this to MM/DD/YYYY (USA Format)

In A2 (for Date) enter:


the result will be:  11/19/2015

For DD/MM/YYYY Format use the following:


In A3 (for Time) enter:


the result will be: 19:30:00