I have to remove value if its date occurred after 01.01.1900.
I get seven different dates from google sheets. For example I got them in Set node. But I need only dates what occurred after 01.01.1900. I have to remove other. I wrote a function in code node but it doesn’t working. What can I do to get rid of unnecessary dates?
In your current example all the dates are in a single item. Is this expected, or will the dates be coming through as individual items all under a date key? Can you share a redacted sample of the incoming data?
Thank you for your help.
I get seven different dates from google sheets. The number of dates is permanent but the actual dates can be different. I’m not interested in dates if it’s before 01.01.1990. So I want to remove all fields from item if it’s BEFORE 01.01.1990 and keep fields if it’s AFTER 01.01.1990.
Sorry for the dud workflow… it works in 0.225, but not 0.224 something changed quite recently . I just changed the return from return newItem to return { json: newItem}