
Traditional date math would make your latter equation result in a value of 0 (try in Excel for example). Your formulas are using dates but I assume what you really want to do is create the logic using hours functions since then it would subtract the end of a day in hours from the beginning of a day in hours and result in a value greater than 0.