I have two Date Time fields, one field is from formcontext other is from Retrieve call. I need lo compare both the fields in a Javascript. Problem is both the field values are in different formats. Is there any workaround to compare both the Dates such that i can find out which date is the earliest.