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
Website Magazine
Integrating Silverlight 4 with SharePoint 2010 - Free 42 Page Sample Chapter
The PHP Anthology: 101 Essential Tips, Tricks & Hacks, 2nd Edition - Free 207 Page Preview!