Compare Datetime from sql

Mar 20 2011 8:35 AM
Hello,
I want to find the difference between two dates. one is current date and second one is date which is stored in sql database.

like i have to compare a string from current date and if string_date is less than 15 days from current date then i have to send a message yes or no.

Please help me its urgent.

Answers (8)