Custom date format as text-tag

Hi all,

In a advanced flow I would like to have the date as yyyy-mm-dd, but I just cant get it to work.

Does anyone know how to get this working? I would like t get a text -tag as output for the next flow block.

Best regards,

You can get formatted date with:

1 Like

Hi @OH2TH,

Thank you for the reply. I have seen the card with the BLL expression but I cant get the expression in such way that it’s accepter. It just outputs the expression as text.

Oh wait i dont use the ‘[’ brackets… let me try it out first.

Best regards,

You can use this card in Adv flow:

It works, but you’ll have to select your entered custom value from the top of the dropdown
(And mm = minutes, use MM)

1 Like

hi @Peter_Kawa ,

It seems that the date format is region depending. I only have dd-MM-yyyy.

homey date

Best regards,

Just type in the box yyyy-MM-dd

Once it is there, you can select it as a custom format. Just as @Peter_Kawa wrote above.

2 Likes

Hi @OH2TH ,

Strange now the format shows up. It did not before :woozy_face:

Thank you for your help.

Best regards,

1 Like