Time format / cron. How is the syntax

I have looked around in the forum and google around to get some information about, how is the format or syntax for [%1$H:%1$tM]. I understand H and M stand for Hour and minutes, but what is %1$ ?

and how do I translate Time cron “0 0 6 * * ? *”

Why these 2 different format.

I understand how Boolean works, but how are there written in openhab. I see some && !=

Is there any place here in openhab.org, that already have explained this?

As you can you can see I not a programmer of any kind, but I’m slowly getting better as I go on.

This request has must like most likely been posted in a wrong section, but it was the best I could find.
Sorry for that.

Because the two have nothing to do with each other. Time cron "0 0 6 * * ? *" is a Rule trigger and it tells the Rule engine to trigger the Rule at 06:00 every day. [%1$H:%1$tM] is how you format how a DateTime Item appears on your sitemap. A DateTime Item is a specific moment in time.

All the usual operators are supported. See below for the docs that describe them.

Yes. See https://www.openhab.org/docs/configuration/rules-dsl.html and don’t neglect to click on the links.

@rlkoshak
Thanks for helping me forward and your “Design Pattern: Time Of Day” too.
It’s very helpful.