Hello all,
I’m new to N8N, I was tring to filter some data from a google sheet by dates, but no matter what I try it shows invalid DateTime, even for Datetime.now().
You can see in the images below.
Hey @mohamed3nan ,
The current date node was not working because I hadn’t set the timezone in my workflow. After setting the timezone, it worked. Surprisingly, my issue was also resolved after setting the timezone. Can you tell me why timezone setting is needed for creating DateTime from a string?
Could you check your environment variable to see if you’ve set GENERIC_TIMEZONE correctly? The workflows should use the default time from it if not set, and if it’s set incorrectly, that might be the issue.