Time-Date problem

Ethvia

Board Regular
Joined
Mar 10, 2009
Messages
63
Hello all.

I am linked to a database and need to find the different between two dates in minutes. The problem is an interface feeds this information into the system in a way it makes it hard to capture a time difference.

I need to find the difference between point A and point B

TimeA: 03/16/2009 15:32
DateB: 03/16/2009
TimeB: 01/01/1999 16:03

So Point A is 03/16/2009 15:32, and Point B should be 03/16/2009 16:03. I'm assuming I need to write a 'formula' that joins DateB and TimeB but can't figure it out. I tried using Datepart to extract the minute and hour of TimeB but can't seem to join it with DateB to get the whole date/time in one column.

Is there an easier way to do this?

Thanks!
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
Are the second times always 01/01/1999 followed by time? Do you have ID's for each record?
 
Upvote 0

Forum statistics

Threads
1,203,600
Messages
6,056,203
Members
444,850
Latest member
dancasta7

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top