So in my project I'm trying to calculate a stock transaction and one of the fields requires me to subtract dates 04/15/2018 (buy date) 04/27/2018 (sell date) but, I'm not sure how to go about subtracting.
I've tried to subtract like 04/15/2018-04/27/2018, but since that wouldn't logically make sense I'm unsure of how to do this.