I have 2 date fields and would like to calculate the midpoint between the two (as a date). I have tried a few the NGS bit not had any success. Any ideas?
Solved
Calculating a date between 2 dates
Best answer by Vivid-Squid
Maybe you need to be more accurate than this:
DATEADD(start, DATETIME_DIFF(end, start, 'days')/2, 'days')
Count the number of days between two dates, divide by 2, add that number to the start date.
Login to the community
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
