From string to date

Hi!
Use a web-scrape to get a date from a web page. Any suggestions on how I get this message to a date?

                                            19. okt                                        

Skjermbilde 2020-10-16 kl. 22.45.51

What do you mean by "get this message to a date"?

Im hoping to get the string date into a variable I use in Home-Assistant..

Is that example meant to be the 28th of October?

If so, as long as the format is consistent, you should be able to use either the moment node or JSONata's momentjs implementation to convert it to a date.

By the way though, this is the Node-RED forum, not the Home Assistant forum. Problems with HA should be directed to their forum.