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.
You convert string value to date if its not date using the date() constructor or format the date using regular expressions before you do the comparison.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 290,900 Super User 2024 Season 2
Martin Dráb 229,297 Most Valuable Professional
nmaenpaa 101,156