hi all,

I want to calculate days b/w two different month
like as 7/15/2008 and 9/30/2008

this is silly question but i have problm to calculte ti .Its urgent in projec

Recommended Answers

All 2 Replies

hello

SELECT DATEDIFF(DAY, yourBirthday, getdate()) AS silly_days

may work on mssqlserver.

krs,
tesu

ah sorry, Easter() is my own udf, please replace it by for example yourBirthday.
krs, tesu

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.