Hello,
Suppose I have 2 dates "21/10/2019" and "24/11/2020". How to get time period in dd/MM/yyyy formate?
Thanks in advance.
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Kamil KrupskiPosted Jun 23, 2020, 7:32 AM
geetha velusamyPosted Nov 15, 2021, 2:06 PM
startdate
, enddate
, DATEDIFF(YY,startdate , enddate)
from
date
select
startdate
, enddate
, DATEDIFF(MM,startdate , enddate)
from
date
select
startdate
, enddate
, DATEDIFF(DD,startdate , enddate)
from
date
satheesh dPosted Nov 9, 2021, 12:55 PM
Ankit ShuklaPosted Jun 24, 2020, 5:37 AM
Rajeesh MenothPosted Jun 23, 2020, 7:19 AM
Jignesh KumarPosted Jun 23, 2020, 6:14 AM
Amit GuptaPosted Jun 23, 2020, 4:18 AM
Vikas JhaPosted Jun 23, 2020, 2:52 AM
Ankit ShuklaPosted Jun 23, 2020, 1:44 AM
Vikas JhaPosted Jun 20, 2020, 4:09 AM
Amit GuptaPosted Jun 20, 2020, 3:54 AM