Dateformat

Hi team, then looking at the default datevariable its formated as DD-MM-YYYY. is it any way of changing this to YYYY-MM-DD? My location is Europe/Stockholm so its should be correct.

When looking at the default “variable” format:

After setting that variable to my own variable:
image

I guess it should be possible to rewrite using logic app or something but would like to see if this is possible first. The thing is that I want to count how many days it has passed since a date back in 2022…

That should be possible with the Better Logic Library app

You can format the date as you like:




Or just extract the day number:

Thanks that worked, but to be clear there is no way of changing the format in the system?

YW
No it’s not user changeable. You can try requesting for this to make it user adjustable at support
https://homey.app/support