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
Backup and Recovery Best Practices for Microsoft SQL Server 2005
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
Integrating Silverlight 4 with SharePoint 2010 - Free 42 Page Sample Chapter