As can FlipCTime... as long as you convert it all to seconds first.
$LastRun=Val(ReadValue('HKCU\Software\KiXtart\Weekly','LastRun'))
$CurCTime=Val(FlipCTime(@Date,@Time,-6))
If $CurCTime-$LastRun>604800 ;one week
...
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.