Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Save Password
Forgot your Password?

 All Forums
 SQL Server 2008 Forums
 SSIS and Import/Export (2008)
 Get difference between two datetime fields in SSIS
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

1 Posts

Posted - 10/19/2012 :  06:51:15  Show Profile  Reply with Quote
I wan to calculate difference between two datetime fields in minutes; I am using below expression in SSIS;

but this is returning integer values but i want diffence to be considered in decimal as well.

e.g if Email Time= 4/2/2012 2:54:00 PM
and End Time=4/2/2012 3:17:22 PM
then i want return values to be 23.22

Is there any way through which we can achieve this if datediff is not the solution

Very Important crosS Applying yaK Herder

52326 Posts

Posted - 10/19/2012 :  22:56:52  Show Profile  Reply with Quote

SQL Server MVP

Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.02 seconds. Powered By: Snitz Forums 2000