What I'm saying is that it's a bit like using "quotes" around string parameters in bangs. They are not always needed, but it's a good habit to get into, as it will save head-scratching at some point sooner or later.
If you look at this:
Code: Select all
[Rainmeter]
Update=1000
DynamicWindowSize=1
AccurateText=1
[TimeMeasure1]
Measure=Time
[TimeMeasure2]
Measure=Time
Format=%A, %B %#d, %Y %#I:%M %p
[MeasureTimeStamp1]
Measure=Calc
Formula=[TimeMeasure1:]
DynamicVariables=1
[MeasureTimeStamp2]
Measure=Calc
Formula=[TimeMeasure2:]
DynamicVariables=1
[MeterOne]
Meter=String
1.jpg
Note that the numeric value of TimeMeasure1, which has no Format option on it, is in fact the correct
timestamp for the current time. The numeric value of TimeMeasure2 on the other hand, which has a Format option, is ZERO. In order to get the
timestamp value in that case, you would use [TimeMeasure2:
Timestamp] in a formula, and not [TimeMeasure2:] which will return zero.
If I just ALWAYS do that, then I get the correct
timestamp value no matter what the Format option is set to:
Code: Select all
[Rainmeter]
Update=1000
DynamicWindowSize=1
AccurateText=1
[TimeMeasure1]
Measure=Time
[TimeMeasure2]
Measure=Time
Format=%A, %B %#d, %Y %#I:%M %p
[MeasureTimeStamp1]
Measure=Calc
Formula=[TimeMeasure1:Timestamp]
DynamicVariables=1
[MeasureTimeStamp2]
Measure=Calc
Formula=[TimeMeasure2:Timestamp]
DynamicVariables=1
[MeterOne]
Meter=String
2.jpg
You do not have the required permissions to view the files attached to this post.