How to Add Date minus 1 & Minutes Minus 1 Tag Expression


How to add Date minus 1 text like this with tag expression as in image so that all 3 readings change as well when Date changes.

Also would like to know to do same with Hours and Minutes please anyone kind to share the tag expression

Thanks in Advanice :slightly_smiling_face:

Hello Osman,

Do you mean something like the below image?

1 Like

Hello Boshra

i was missing the brackets :slightly_smiling_face:
For date i think it can also be done like this.

Thank you very much for your reply and help :+1:

Check this, you can substitute seconds for minutes
((([SEC]+59)%60)<10?“0”:“”)(([SEC]+59)%60) ([SEC_Z]) ((([SEC]+61)%60)<10?“0”:“”)(([SEC]+61)%60)


Thanks Peter i will try that also :slightly_smiling_face::+1:

Hello! And what is the tag for the date -1 so that there is no 0 when the date is 1?

The tag is the same, just the formula is different.
There has to be conditional expression which gives 31 on the date equal 1 and date -1 on any other day.

Can you tell me the formula?