Mar 22, 2007 #1 nkamp Programmer Jan 19, 2004 35 NL Hello, I want at some stage everytime look back for half an hour like: Datediff("s", Timvalue(Time)-Timevalue("00:30:00"), rec("par1").value) Is there in VBA a simple function for? thanks in advance! Nico
Hello, I want at some stage everytime look back for half an hour like: Datediff("s", Timvalue(Time)-Timevalue("00:30:00"), rec("par1").value) Is there in VBA a simple function for? thanks in advance! Nico
Mar 22, 2007 #2 Remou Technical User Sep 30, 2002 13,030 BE DateAdd should suit, for example: [tt]DateAdd("n", -30, #6:57:58#)[/tt] Upvote 0 Downvote