comparing two datesCompare 2 days, last date of the month with first date of the next month!example! 30-04-2010 with 01-05-2010 (or with datetime 30-04-2010 01:00:00 with 01-05-2010 01:00:00)If txt_remdate.Text < Now.Date Then errmsg = "Reminder Date cannot be less than today's date" GoTo err