Does date value exist in array - can anyone please help?

I have two arrays each containing date objects.

Using a For loop I need to check whether the currently iterated value of ‘Array A’ exists in ‘Array B’.

I tried ‘includes’ however everything is returned as false.

Would greatly appreciate any help!
Best regards

i don’t know if i can put here the code coded by chatgpt but i just copy and paste what you asked (everthing) and it did a full code, maybe can help you, i hope.

1 Like

Sterling idea! It worked.
Best regards and many thanks

1 Like

Please dont tell others to use ChatGPT, or provide code written by ChatGPT. It can be wildly inaccurate, and unless you are going through the code to make sure its right then you could potentially be causing more issues to someone’s code

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.