Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Future Date from Calendar
#1
Solved: 10 Years, 10 Months, 1 Week ago
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.

Code:
mydate = day(now)

If (mydate>="30") Then
    mymonth = month(now+1)
    futurepickup=day(now+4)

Else
    futurepickup=day(now+1)

End If
Please help me with this issue.

Thanks in advance
Reply


Messages In This Thread
Future Date from Calendar - by SS001 - 05-27-2010, 07:59 AM
RE: Future Date from Calendar - by supputuri - 05-27-2010, 08:29 AM
RE: Future Date from Calendar - by basanth27 - 05-31-2010, 01:16 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  QTP not recognizing date calendar kQTPs 1 3,479 12-20-2017, 11:21 PM
Last Post: harikrishna
  select a date from pop-up calendar Dertjon 1 5,626 05-13-2014, 02:29 PM
Last Post: Ankur
  Select Current Date from a Calendar Control qtpbeginner78 11 24,738 06-04-2013, 05:38 AM
Last Post: qtpbeginner78
  How to capture the DATE from the Calendar control in a sharepoint application Simr 3 10,097 09-17-2012, 03:50 PM
Last Post: visitjaga
  Need Help Datatable Parameterzing Date debindas 1 3,490 08-30-2012, 11:43 PM
Last Post: QTPScript

Forum Jump:


Users browsing this thread: 1 Guest(s)