Thanks:  0
Likes:  0
Dislikes:  0

1. ## DateDiff

User Steve Gray (sgray@BridgeMedical.com) posted:

Drums of Dundee having drum heads replaced... can "see" drums, can pick up
sticks to beat drums, but when doing so, drums return no noise... but at
least drums return no noise much quicker now...

Anyone have a SQA Basic equivalent of the VB DateDiff function? Need to
verify that the time difference between two times is <= 10 seconds -
datediff would work perfectly...

Steve

---

2. ## Re: DateDiff

User Gustavo Rojas (gustavo.rojas@greatplains.com) posted:

Something like this can work

Dim T1 As Variant
Dim T2 As Variant

T1 = Time()
...
...
...
T2 = Time()

' Number of seconds elapsed: Second(T2 - T1)
' Number of minutes elapsed: Minute(T2 - T1)
' Number of hours elapsed (in military format 0-23): Hour(T2 - T1)
' All three functions return variants

Gustavo Rojas
____________________________________
Quality Assurance Analyst
Solomon Platform Services Group
---

3. ## Re: DateDiff

User MArk B. (mkbutler@russellmellon.com) posted:

I think Andy posted one a while back. Check the archives.

MArk B.

"Steve Gray" <sgray@BridgeMedical.com> wrote in message
news:157557@sqa-suite-users...
---

4. ## Re: DateDiff

User Steve Gray (sgray@BridgeMedical.com) posted:

of any kind...

BUT-

Gustavo's suggestion worked handily. Didn't think to perform math against a
date variant.

Thanks-
Steve

5. ## Re: DateDiff

User (Paul_Downes@providian.com) posted:

Andy's date functions can be found on the RationalUsers website:
http://groups.yahoo.com/group/Ration...s/DateFunc.ZIP

Cheers . . . Paul
"Steve Gray" <sgray@BridgeMedical.com> on 04/12/2001 01:41:47 PM

Please respond to "SQA Suite Team Test Users"
<sqa-suite-users@lists.dundee.net>

To: "SQA Suite Team Test Users" <sqa-suite-users@lists.dundee.net>
cc:
Subject: RE: DateDiff

Can't - Dundee is upgrading the listserver, and searching returns no
results
of any kind...

BUT-

Gustavo's suggestion worked handily. Didn't think to perform math against
a
date variant.

Thanks-
Steve

#### Posting Permissions

• You may not post new threads
• You may not post replies
• You may not post attachments
• You may not edit your posts
•
Search Engine Optimisation provided by DragonByte SEO v2.0.36 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.