I’ve tried applying the examples in the discussion above, it’s just that it still doesn’t work in my case, even though I think all formats are the same.
this is my configuration in String to Date&Time Node:
I made some tests and the result is about your string from date format. Maybe you can simplify the string for just date using string manipulation and then, use string to date&time node to adjust it as below.
You almost had it but you need to specify ‘Date’ (not Date&Time), and use explicit spaces in the format string, as well as the optional indicator (the brackets) to enable it to be converted to a date only.
Thankyou so much @denisfi , @mlauber71 , @ssq for your help…
But, All the suggestions from you haven’t worked on my node yet. The result is still the same, showing an empty result.
I got the date data from the rss site that I had previously extracted.
You have spaces at the start of your dates! Trim them with String Manipulation and then try the solutions again. I think you will find the solutions are correct, but the data was wrong
The post by @mlauber71 has the correct format mask once the dates are trimmed.
There is a strip() function in String Manipulation that you can use, which will remove spaces from beginning and end of the string. This will hopefully do what you need:
Hello, @denisfi
Thankyou so much for your help !
I’m looking for similar references to solve my problem, as well as to learn more about the time.
I’ve imported the workflow from you, and step by step I implemented it in my workflow.
When I observed, it turns out that there is a difference in the column names between yours and mine.
yours on the Xpath node
And below is mine on Xpath node
in the Xpath Summary on the Column Name, I gave a column name that doesn’t match the name of the tag in the XML.
which should be the column name : pubdate according to the tag name.
Instead I named it “date”
Maybe there’s a mistake there, that’s why I tried to change the column name according to the tag name, namely “pubdate”
And all the solutions from these discussion mates work fine.
I think column names don’t have to be the same. But, I’m learning something new now.
From the XPath, you can set the name for the tag, so normally brings the original value from the path, but if you edit by double click for the field, you can set it as you wish. It helps me to define different names for the original tag for my flow, just it!