Hi Friends
I want to calculate the difference between two dates, which date function I may use ?
Date Function in SQL
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
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
VulpesRank #55 · 29.2K reputationPosted Jul 7, 2012, 8:32 AM EDT
Check out the documentation for details and some examples:
http://msdn.microsoft.com/en-us/library/ms189794.aspx
Satyapriya NayakRank #47 · 31.5K reputationPosted Jul 7, 2012, 8:51 AM EDT
Refer
http://www.java2s.com/Code/SQLServer/Date-Timezone/DATEDIFFreturnthedifferencebetweentwodates.htm
Thanks