Compare two date fields to return a result of True

Compare two date fields to return a result of True

I have two date fields in a module, date field 1 shows when something is due. Date field 2 shows when it was submitted. I would like to compare these two fields and return a result of Yes or no in a thrid field depending on if the due date is met.

I have tried an if statement;

If(${Projects.Final Submission}<${Projects.Date job finalled},'yes','No')

Not and expert.