I am looking a way to make weekday as a number to use with my bar
The bar gets filled in as the week progress
Monday is where the bar is empty, sunday is when it is full
%a only shows weekday as a name. What do I do? Thanks
As you know I am new to rainmeter (another post already)
deXxterlab97 wrote:I am looking a way to make weekday as a number to use with my bar
The bar gets filled in as the week progress
Monday is where the bar is empty, sunday is when it is full
%a only shows weekday as a name. What do I do? Thanks
To be a bit more precise than CyberTheWorm, I'd say that if you take a look at the Format codes, you can see there're two formats which return the weekday as number:
◦%u: ISO 8601 weekday as number with Monday as first day of week. (1 - 7)
...
◦%w: Weekday as number with Sunday as first day of week. (0 - 6)
If you want to get the bar empty on Monday and filled up on Sunday, use the following measure:
TrueFaith wrote:didnt found in format codes a value that returns me state of week (is it odd or even), is there any?
The %U, respectively the %W formats return the week of year as a number, the first one with the first Sunday as first day of week one, while the second one with first Monday as first day of week one:
%U: Week of year number, with the first Sunday as first day of week one. (00 - 53)
...
◦%W: Week of year as number, with first Monday as first day of week one. (00 - 53)
Then, to check if the week is odd or even, you can use a proper Calc measure: