Click here to Skip to main content
15,911,531 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i want time in minits only, means if i have 01:35:02 then i want only 95 minutes, could i get it ??
Posted
Updated 10-Oct-14 19:48pm
v3

 
Share this answer
 
Got the Answer
select DATEDIFF(MINUTE, DATEADD(DAY, DATEDIFF(DAY, 0, Col_Time), 0), Col_Time) from Table_Name
 
Share this answer
 
Comments
King Fisher 11-Oct-14 2:10am    
Good .what's your Col_time datatype.
Madhuri Gamane 11-Oct-14 5:30am    
it is not a datatype..
it is Name of Column in which time gets saved..

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900