Code: Select all

```
[MeasureHour]
Measure=Time
Format="%H"
[MeasureAfternoon]
Measure=Calc
Formula= (MeasureHour > 11) ? (MeasureHour-12) : 12
Substitute= "12":"in the morning","0":"in the afternoon","1":"in the afternoon","2":"in the afternoon","3":"in the afternoon","4":"in the afternoon","5":"in the afternoon","6":"in the evening","7":"in the evening","8":"in the evening","9":"at night","10":"at night","11":"at night"
```

Also, is there a chance that Rainmeter has a boolean and that I could use in the formula line?

I can't seem to find a dictionary of keywords & operators for Rainmeter, if I could get pointed in that direction I would be very happy.