skrummen
Posts: 179
Score: 4 Joined: 6/7/2001 Status: offline
|
I think I figured this out. I ended up creating a .vbs file that is called from the script that takes variables from the wise script, executes the vbs script and then brings the result back to wise again. vbs code: '(Declarations) FILEMOD = GetVariable("FILEMOD") DEATHDATE = GetVariable("DEATHDATE") FILEMOD = CDate(FILEMOD) DEATHDATE = CDate(DEATHDATE) If DateDiff("d", FILEMOD, DEATHDATE) >= 1 Then SetVariable "DATECOMPARE", 1 Else SetVariable "DATECOMPARE", 0 End If 'End of (Declarations)
_____________________________
Shane Krummen shane_krummen@cinfin.com
|