[SOLVED] Subtracting a Number from a Date not Working


#1

I am using this code:

DATEADD(2/20/2018, -15, ‘days’)

If I change out the date to reference another column it will work. When I input this, all I get are #ERROR messages. What am I doing wrong?


#2

I had this same problem yesterday! You just need to put single quotes around the date:

DATEADD('2/20/2018', -15, ‘days’)


#3

It works! Thank you!


#4