View Single Post
  #1 (permalink)  
Old 06-24-2009, 2:12 PM
grmotild grmotild is offline
VB.NET Forum Newbie
.NET Framework: .NET 2.0 (VS 2005)
 
Join Date: Jun 2009
Age: 40
Posts: 2
Reputation: 0
grmotild is on a distinguished programming path ahead
Default Check if date dd/MM is in interval without yyyy

Hello.
Will appreciated for any help in VB.NET.
I need to check my field in format ddMMyyyy(ex 12/03/1990) whether in interval of two dates that user picks from

two date picker controls. Two date pickers are in custom format dd/MM. It does not matter for me if its between

particular years. I need just to know if given Birthday belongs to interval taken from screen. Each datepicker gives

values dd/mm/yyyy. I do not know how to check it. For example:
Given date 12/03/1990 . User select two values from screen: From 01/01/1950 Upto 30/04/1949(or 1990, or 2000)
Result should be True.Because 12 march is between 01 Januar and 30 April.

Thank you in advance
Michael G.
Reply With Quote