Results 1 to 2 of 2

Thread: Date Comparison

  1. #1

    Date Comparison


    Is there any method to compare current date with user given date.I want to return the Boolean value,which one is Older\Latest one,

    i could not get the relevent method from QTP Help also.


  2. #2
    Advanced Member
    Join Date
    Sep 2007
    Chennai, Tamil nadu, India

    Re: Date Comparison

    Result = Datediff("d",UserDate,Date)

    Then put If condition and get the result. Please use the "Google" and "www.w3schools.com" for simple Vbscript functions.
    i have never seen bugs sleeping



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
BetaSoft Inc.
All times are GMT -8. The time now is 03:41 PM.

Copyright BetaSoft Inc.