Help with VBScript date

For my benefit please, what does this do?

Code:
Do until i > 0 Date()
 
That was the line I picked up and why I asked if it actually worked
 
I was hasty with the previous answer I did not try all possibilities. It seems it was doing the job too good that the backups are being done even before one week has passed.

Anyway, I simplified it and hope this I have it correct this time :oops:

Code:
'If at least one week has passed since last backup, do the backup on the first opportunity
dteCounter = dteCounter + 7

    IF Date() >= dteCounter Then
        BackupData()
    End If
 

Users who are viewing this thread

Back
Top Bottom