J jastek Registered User. Local time Today, 00:32 Joined Aug 8, 2003 Messages 29 May 3, 2004 #1 Can you make the DateDiff function exclude the start and end dates? example: start date = 5/1/04 end date = 5/3/04 date difference is = 1
Can you make the DateDiff function exclude the start and end dates? example: start date = 5/1/04 end date = 5/3/04 date difference is = 1
J jastek Registered User. Local time Today, 00:32 Joined Aug 8, 2003 Messages 29 May 3, 2004 #3 That works fine, unless I am comparing two dates that are together. Then I will get a negative number. start date = 5/1/04 end date - 5/2/04 Date Difference = -2
That works fine, unless I am comparing two dates that are together. Then I will get a negative number. start date = 5/1/04 end date - 5/2/04 Date Difference = -2
J jastek Registered User. Local time Today, 00:32 Joined Aug 8, 2003 Messages 29 May 4, 2004 #4 Never mind. I put an if statement at the end to make values < 0, = 0 Problem solved. If anyone knows of a way to make DateDiff do this automatically, I would like to know how.
Never mind. I put an if statement at the end to make values < 0, = 0 Problem solved. If anyone knows of a way to make DateDiff do this automatically, I would like to know how.