On 2012-03-17 05:11, Raju Prasad wrote:
doubt regarding dateadd()

*syntax :dateadd(interval,number,date)*

while iam using "DAY" and "WEEKDAY"  the output is same i,e : *3/18/2012*

a=DateAdd("d",1,date )
msgbox a

a=DateAdd("w",1,date )
msgbox a

Try adding more days, like 15 or so, and you will see the difference.

--
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en

Reply via email to