05-27-2010, 07:59 AM
Hi,
I have a problem in picking future date from calendar. If today's date is 30/31 then it should pick next month's date. Please have a look on the code below.
Please help me with this issue.
Thanks in advance
I have a problem in picking future date from calendar. If today's date is 30/31 then it should pick next month's date. Please have a look on the code below.
Code:
mydate = day(now)
If (mydate>="30") Then
mymonth = month(now+1)
futurepickup=day(now+4)
Else
futurepickup=day(now+1)
End If
Thanks in advance