.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Forum >> VB.Net >> Post New QuestionBookmark and Share Subscribe to Forum

date validation in vb.net

Posted By: Catherine     Posted Date: August 02, 2011    Points:5   Category :VB.Net
Hi
i would like to check the date(which i pass in my module) that should be less than or equal to five days from my session date.Which date function i should use.


Responses
Author: Narayanan             
Posted Date: September 11, 2011     Points: 20   

Hi,
try this way...
Give a Condition like this....
Step :1
Get a sessiondate and Module Date.
Step :2
calculate TempSessiondate (reduced by 5 from actual sessiondate)
step:3
give a condition "If Statement". Compare to TempSessiondate and Module date as your requirement
Regards,
Lakshmi Narayanan.S





Regards, Lakshmi Naraayanan.S
http://dotnettechrocks.blogspot.in/


Post Reply

You must Sign In To post reply
 
 
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery
JavaScript/VBScriptBiztalkWPFPatten/PracticesWCFOthers
www.DotNetSpark.comUnAnsweredAll

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend