AspdotnetCodes.com
Search
Articles
Books
Resources
Asp.Net News
Downloads
Free Tech Magazines
Asp.Net Web Hosting
Archives
Softwares
Newsletter
Suggest Us
Link to Us
Feeds Subscription
Articles
Questions & Answers
Tips & Tricks
 date Valiadation (asp.net 2.0 interview question)
Posted by Pinak Mohan Mathkar on  9/1/2008 4:47:01 AM Category: ADO.NET
Add to my favorites
Email to friend
what will u use for day ? and what will u use for month ? and what will u use for year ?

Post Your Reply Post New Question

 Viewer's Reply
use DateTime function
Answered By Moderator1 on 9/7/2008 1:29:05 AM
Hi,

you can use DateTime function.
DateTime.Today.Day
DateTime.Today.Month
DateTime.Today.Year
 
Post Your Reply If you still have problem, post it again under this reply for better response.

 
Sponsored by
Windows 8: 50 Questions and Answers You Need to Make a Decision (Normally $9.95)
The ASP.NET 2.0 Anthology: 101 Essential Tips, Tricks & Hacks - Free 156 Page Preview
Backup and Recovery Best Practices for Microsoft SQL Server 2005