C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Reviews   Communities   Interview   Jobs   Projects   Training   Your Ad Here    
Silverlight Games | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Polls | Revenue Sharing | Lobby | Gift Shop |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...






View Message



Sender chandrakala

Recipient(s) Vivs

Date 30 Sep 2009


Re: Hi

Yes you can



>>> On 30 Sep 2009, Vivs wrote:

Can we write a function and pass the date as dynamic

select rtrim(datediff(yy, convert(datetime, '14/05/1984', 103), getdate())) + ' Years ' +
rtrim(datediff(mm, convert(datetime, '14/05/1984, 103), getdate()) - datediff(yy, convert(datetime, '14/05/1984', 103), getdate()) * 12) + ' Months'






dotNet Slackers

About Us    Contact Us    Privacy Policy    Terms Of Use