Avatar

Correct answer by
Community Advisor

Hi @bhaskarc1289447 ,

 

Convert both dates to same format and then compare.

You can do something like:

const myDate = formatDate(result.@mailDate, "%4Y/%2M/%2D %02H:%02N:%02S")

 

Thanks,

Jyoti

View solution in original post