I have a question about splitting a particular string.
The string that I have holds a date and time like this: 2024-03-16T14:00:00.000+01:00
Now I want to extract the day, the hour and the minutes.
I found in another post something like {{ 0+(“”.split(“-”)[1]) }} in this way I get the year (2024) and for the month only the (3) but not the day (16). I cannot get the time at all.
I don’t have a homey pro or a bridge.
Can somebody help me out to provide something that works?
Thank you very much for this - however, the variable it saves for me is in quotation marks when stored in the text variable. How do you save without them? Thanks in advance.