Dear,
How to get number of days in between two dates
I tried below query in SQL.
select DATEDIFF(DAY,'2016-03-11 12:00','2016-03-13 20:00')
its right but i want in decimal format.
Thanks
Basit
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Amit Kumar SinghRank #562 · 4.3K reputationPosted Mar 14, 2016, 3:34 AM EDT
Sateesh ArvetiRank #96 · 22.3K reputationPosted Mar 14, 2016, 3:35 AM EDT
Vijay Saklani147 reputationPosted Mar 15, 2016, 2:12 AM EDT
Get number of days between two dates:Get date