hi, i want to check a specific date using if condition. i want only date, not month and year. like code checks only date 20 of every month when i clicked a button. please help me....

Recommended Answers

All 3 Replies

What are you comparing the day part of the date to?

Here's the appropriate article in MSDN on the DateAndTime class. Through class you can access any or all parts of the date.

thanx i have solved my problem for checking a specific date.

Be a part of the DaniWeb community

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