Search code examples
google-apps-scriptcompare

getting issue when comparing dates on spreadsheet


I have a spreadsheet with a cell, that contain today formula and another one that I set using script: setValue()

Then in my script, I will compare those cell to catch mismatch.

both cell are equal, even in the debugger, but the script act like not!

Any ideas why?

Thanks!


Solution

  • It works now with Marios solution, getDisplayValue