When your app first starts, oldCurrentDate is empty... so you save... otherwise we wait til something exciting happens
Local oldCurrentDate:String
Repeat
If CurrentDate() <> oldCurrentDate Then
oldCurrentDate = CurrentDate()
' Save stuff
End If
' wait a minute
Delay(60000)
Forever