Sunday, February 19, 2012

how to get Difference between two dates

By using DateDiff we can do.Could you please send me the expression

Thanks

If you want to find the differene between 2 dates in days, use the following expression:

DateDiff(DateInterval.Day, Date1, Date2)

where Date1 is the start date and Date2 is the end date.

For more details, pls use the following link:

http://msdn2.microsoft.com/en-us/library/b5xbyt6f.aspx

Shyam

|||

Thanks Shayam

|||can u pls mark my post as answered?|||

Sure Shyam

No comments:

Post a Comment