View Single Post
  #4  
Old 05-12-2005, 09:52 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,027
Remove the set in the line

set ourday = DateDiff("d", #1/1/2004#, Now)

The Set statement is used only when assigning object values (a VB-ism). DateDiff just returns a number.
Reply With Quote